aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorMikulas Patocka <mikulas@twibright.com>2015-07-09 18:05:15 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2015-07-09 11:42:21 -0700
commit9abea2d64ce93b6909de7f83a7f681f572369708 (patch)
tree6ffa49c9e985f7212ed8edc7271d4969dc3e521a /fs/ext4
parentFix firmware loader uevent buffer NULL pointer dereference (diff)
downloadlinux-dev-9abea2d64ce93b6909de7f83a7f681f572369708.tar.xz
linux-dev-9abea2d64ce93b6909de7f83a7f681f572369708.zip
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/ext4')
-rw-r--r--fs/ext4/ioctl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/ioctl.c b/fs/ext4/ioctl.c
index cb8451246b30..1346cfa355d0 100644
--- a/fs/ext4/ioctl.c
+++ b/fs/ext4/ioctl.c
@@ -755,7 +755,6 @@ long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
return err;
}
case EXT4_IOC_MOVE_EXT:
- case FITRIM:
case EXT4_IOC_RESIZE_FS:
case EXT4_IOC_PRECACHE_EXTENTS:
case EXT4_IOC_SET_ENCRYPTION_POLICY: