From: Neil Brown Date: Wed, 22 Aug 2007 23:37:54 +0000 (+0200) Subject: md: allow SET_BITMAP_FILE to work on 64bit kernel with 32bit userspace X-Git-Tag: v2.6.16.54-rc1~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7524619e58de4fba43d4b5c56997c54109799e91;p=thirdparty%2Fkernel%2Fstable.git 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 Signed-off-by: Adrian Bunk --- diff --git a/include/linux/compat_ioctl.h b/include/linux/compat_ioctl.h index ae7dfb790df3b..470c1985e51ed 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)