diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2007-07-16 02:42:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 12:05:52 -0400 |
commit | 98701dc19e0cf358d48208e994180bb8abad5079 (patch) | |
tree | ccc04ade07444a7254eead345b6a48d2d019a320 /fs/compat_ioctl.c | |
parent | 29e3f347779088a79d832bfbd2d17c2f04050308 (diff) |
compat32: ignore the LOOP_CLR_FD ioctl
compat32: Ignore the LOOP_CLR_FD ioctl for the loop block device, to kill an
annoying kernel message when e.g. busybox umount is used.
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/compat_ioctl.c')
-rw-r--r-- | fs/compat_ioctl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 6b44cdc96fac..e440a7b95d02 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c | |||
@@ -63,6 +63,7 @@ | |||
63 | #include <linux/wireless.h> | 63 | #include <linux/wireless.h> |
64 | #include <linux/atalk.h> | 64 | #include <linux/atalk.h> |
65 | #include <linux/blktrace_api.h> | 65 | #include <linux/blktrace_api.h> |
66 | #include <linux/loop.h> | ||
66 | 67 | ||
67 | #include <net/bluetooth/bluetooth.h> | 68 | #include <net/bluetooth/bluetooth.h> |
68 | #include <net/bluetooth/hci.h> | 69 | #include <net/bluetooth/hci.h> |
@@ -3489,6 +3490,9 @@ HANDLE_IOCTL(LPSETTIMEOUT, lp_timeout_trans) | |||
3489 | 3490 | ||
3490 | IGNORE_IOCTL(VFAT_IOCTL_READDIR_BOTH32) | 3491 | IGNORE_IOCTL(VFAT_IOCTL_READDIR_BOTH32) |
3491 | IGNORE_IOCTL(VFAT_IOCTL_READDIR_SHORT32) | 3492 | IGNORE_IOCTL(VFAT_IOCTL_READDIR_SHORT32) |
3493 | |||
3494 | /* loop */ | ||
3495 | IGNORE_IOCTL(LOOP_CLR_FD) | ||
3492 | }; | 3496 | }; |
3493 | 3497 | ||
3494 | #define IOCTL_HASHSIZE 256 | 3498 | #define IOCTL_HASHSIZE 256 |