summaryrefslogtreecommitdiff
path: root/fs/jfs
diff options
context:
space:
mode:
authorMikulas Patocka <mikulas@twibright.com>2015-07-09 19:05:15 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2015-07-09 21:42:21 +0300
commit9abea2d64ce93b6909de7f83a7f681f572369708 (patch)
tree6ffa49c9e985f7212ed8edc7271d4969dc3e521a /fs/jfs
parent6f957724b94cb19f5c1c97efd01dd4df8ced323c (diff)
downloadlinux-9abea2d64ce93b6909de7f83a7f681f572369708.tar.xz
ioctl_compat: handle FITRIM
The FITRIM ioctl has the same arguments on 32-bit and 64-bit architectures, so we can add it to the list of compatible ioctls and drop it from compat_ioctl method of various filesystems. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Ted Ts'o <tytso@google.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/jfs')
-rw-r--r--fs/jfs/ioctl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/jfs/ioctl.c b/fs/jfs/ioctl.c
index 93a1232894f6..8db8b7d61e40 100644
--- a/fs/jfs/ioctl.c
+++ b/fs/jfs/ioctl.c
@@ -180,9 +180,6 @@ long jfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
case JFS_IOC_SETFLAGS32:
cmd = JFS_IOC_SETFLAGS;
break;
- case FITRIM:
- cmd = FITRIM;
- break;
}
return jfs_ioctl(filp, cmd, arg);
}