summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-08-23 01:37:54 +0200
committerAdrian Bunk <bunk@stusta.de>2007-08-23 01:37:54 +0200
commit7524619e58de4fba43d4b5c56997c54109799e91 (patch)
tree94cd142926f8a5990ca7c6ab86466bc609cbe1da
parent5405a10ecb16e5bfe696643cea821c49e99c4bbb (diff)
md: allow SET_BITMAP_FILE to work on 64bit kernel with 32bit userspace
.. so that you can use bitmaps with 32bit userspace on a 64 bit kernel. Signed-off-by: Neil Brown <neilb@suse.de> Signed-off-by: Adrian Bunk <bunk@kernel.org>
-rw-r--r--include/linux/compat_ioctl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/compat_ioctl.h b/include/linux/compat_ioctl.h
index ae7dfb790df3..470c1985e51e 100644
--- a/include/linux/compat_ioctl.h
+++ b/include/linux/compat_ioctl.h
@@ -120,6 +120,8 @@ ULONG_IOCTL(START_ARRAY)
COMPATIBLE_IOCTL(STOP_ARRAY)
COMPATIBLE_IOCTL(STOP_ARRAY_RO)
COMPATIBLE_IOCTL(RESTART_ARRAY_RW)
+COMPATIBLE_IOCTL(GET_BITMAP_FILE)
+ULONG_IOCTL(SET_BITMAP_FILE)
/* DM */
COMPATIBLE_IOCTL(DM_VERSION_32)
COMPATIBLE_IOCTL(DM_REMOVE_ALL_32)