Skip to content
Commit 778f3dd5 authored by David Miller's avatar David Miller Committed by Linus Torvalds
Browse files

Fix procfs compat_ioctl regression



It is important to only provide the compat_ioctl method
if the downstream de->proc_fops does too, otherwise this
utterly confuses the logic in fs/compat_ioctl.c and we
end up doing the wrong thing.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Acked-by: default avatarAlexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 040b3a2d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment