commit | 778f3dd5a13c9e1642e0b2efea4b769387a70afa | [log] [tgz] |
---|---|---|
author | David Miller <davem@davemloft.net> | Fri Jul 27 22:58:37 2007 -0700 |
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | Sat Jul 28 19:42:22 2007 -0700 |
tree | 7a137adb91dcadf3e7b6756869ab73683ee41268 | |
parent | 040b3a2df2dd26c3e401823f3b0ce3fe99e966c5 [diff] |
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: David S. Miller <davem@davemloft.net> Acked-by: Alexey Dobriyan <adobriyan@sw.ru> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>