From: Geert Uytterhoeven Date: Mon, 16 Jul 2007 06:42:01 +0000 (-0700) Subject: compat32: ignore the LOOP_CLR_FD ioctl X-Git-Tag: v2.6.23-rc1~789 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=98701dc19e0cf358d48208e994180bb8abad5079;p=linux-2.6-omap-h63xx.git 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 Acked-by: Arnd Bergmann Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 6b44cdc96fa..e440a7b95d0 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -63,6 +63,7 @@ #include #include #include +#include #include #include @@ -3489,6 +3490,9 @@ HANDLE_IOCTL(LPSETTIMEOUT, lp_timeout_trans) IGNORE_IOCTL(VFAT_IOCTL_READDIR_BOTH32) IGNORE_IOCTL(VFAT_IOCTL_READDIR_SHORT32) + +/* loop */ +IGNORE_IOCTL(LOOP_CLR_FD) }; #define IOCTL_HASHSIZE 256