ioctl_compat: handle FITRIM
authorMikulas Patocka <mikulas@twibright.com>
Thu, 9 Jul 2015 16:05:15 +0000 (18:05 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 9 Jul 2015 18:42:21 +0000 (11:42 -0700)
commit9abea2d64ce93b6909de7f83a7f681f572369708
tree6ffa49c9e985f7212ed8edc7271d4969dc3e521a
parent6f957724b94cb19f5c1c97efd01dd4df8ced323c
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>
fs/compat_ioctl.c
fs/ecryptfs/file.c
fs/ext4/ioctl.c
fs/jfs/ioctl.c
fs/nilfs2/ioctl.c
fs/ocfs2/ioctl.c