Patchwork compat_ioctl: ignore RAID_VERSION ioctl

login
register
mail settings
Submitter Arnd Bergmann
Date Jan. 30, 2010, 10:02 p.m.
Message ID <201001302302.10574.arnd@arndb.de>
Download mbox | patch
Permalink /patch/75931/
State New, archived
Headers show

Comments

Patch

--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -1038,6 +1038,8 @@  COMPATIBLE_IOCTL(FIOQSIZE)
 #ifdef CONFIG_BLOCK
 /* loop */
 IGNORE_IOCTL(LOOP_CLR_FD)
+/* md calls this on random blockdevs */
+IGNORE_IOCTL(RAID_VERSION)
 /* SG stuff */
 COMPATIBLE_IOCTL(SG_SET_TIMEOUT)
 COMPATIBLE_IOCTL(SG_GET_TIMEOUT)