aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs
diff options
context:
space:
mode:
authorMikulas Patocka <mikulas@twibright.com>2015-07-09 12:05:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2015-07-09 14:42:21 -0400
commit9abea2d64ce93b6909de7f83a7f681f572369708 (patch)
tree6ffa49c9e985f7212ed8edc7271d4969dc3e521a /fs/ecryptfs
parent6f957724b94cb19f5c1c97efd01dd4df8ced323c (diff)
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/ecryptfs')
-rw-r--r--fs/ecryptfs/file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ecryptfs/file.c b/fs/ecryptfs/file.c
index 72afcc629d7b..feef8a9c4de7 100644
--- a/fs/ecryptfs/file.c
+++ b/fs/ecryptfs/file.c
@@ -325,7 +325,6 @@ ecryptfs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
325 return rc; 325 return rc;
326 326
327 switch (cmd) { 327 switch (cmd) {
328 case FITRIM:
329 case FS_IOC32_GETFLAGS: 328 case FS_IOC32_GETFLAGS:
330 case FS_IOC32_SETFLAGS: 329 case FS_IOC32_SETFLAGS:
331 case FS_IOC32_GETVERSION: 330 case FS_IOC32_GETVERSION: