summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorKevin Cernekee <kpc.mtd@gmail.com>2009-04-09 07:53:49 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-05-29 16:27:07 +0200
commitaea7cea9fa9e39e71f95ad70b3daf98ba9972587 (patch)
tree1027622aa55451ab62b79e47f20c3fdee6ccaef9 /fs
parentmtd: compat_ioctl cleanup (diff)
downloadlinux-aea7cea9fa9e39e71f95ad70b3daf98ba9972587.tar.xz
linux-aea7cea9fa9e39e71f95ad70b3daf98ba9972587.zip
mtd: add OOB ioctls for >4GiB devices
Signed-off-by: Kevin Cernekee <kpc.mtd@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/compat_ioctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index 196397bff086..8da222eacbaf 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -2411,6 +2411,8 @@ COMPATIBLE_IOCTL(ECCGETLAYOUT)
COMPATIBLE_IOCTL(ECCGETSTATS)
COMPATIBLE_IOCTL(MTDFILEMODE)
COMPATIBLE_IOCTL(MEMERASE64)
+COMPATIBLE_IOCTL(MEMREADOOB64)
+COMPATIBLE_IOCTL(MEMWRITEOOB64)
/* NBD */
ULONG_IOCTL(NBD_SET_SOCK)
ULONG_IOCTL(NBD_SET_BLKSIZE)