projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29e3f34
)
compat32: ignore the LOOP_CLR_FD ioctl
author
Geert Uytterhoeven
<
[email protected]
>
Mon, 16 Jul 2007 06:42:01 +0000
(23:42 -0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 16 Jul 2007 16:05:52 +0000
(09:05 -0700)
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 <
[email protected]
>
Acked-by: Arnd Bergmann <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/compat_ioctl.c
patch
|
blob
|
history
diff --git
a/fs/compat_ioctl.c
b/fs/compat_ioctl.c
index 6b44cdc96facd51030d8798f68e3cf68aecc0d4e..e440a7b95d0275769f5f89124c69c39259785c2f 100644
(file)
--- a/
fs/compat_ioctl.c
+++ b/
fs/compat_ioctl.c
@@
-63,6
+63,7
@@
#include <linux/wireless.h>
#include <linux/atalk.h>
#include <linux/blktrace_api.h>
+#include <linux/loop.h>
#include <net/bluetooth/bluetooth.h>
#include <net/bluetooth/hci.h>
@@
-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