fs: compat_ioctl: move FITRIM emulation into file systems
authorArnd Bergmann <arnd@arndb.de>
Mon, 3 Jun 2019 11:51:58 +0000 (13:51 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 23 Oct 2019 15:23:46 +0000 (17:23 +0200)
commit314999dcbca75c3ca8aaba102875d51ab409cf87
tree4318122d01053f85ed56f7dfefcfe8e9127dbf03
parent8d0980704842e8a68df2c3164c1c165e5c7ebc08
fs: compat_ioctl: move FITRIM emulation into file systems

Remove the special case for FITRIM, and make file systems
handle that like all other ioctl commands with their own
handlers.

Cc: linux-ext4@vger.kernel.org
Cc: linux-f2fs-devel@lists.sourceforge.net
Cc: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Cc: linux-nilfs@vger.kernel.org
Cc: ocfs2-devel@oss.oracle.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
fs/compat_ioctl.c
fs/ecryptfs/file.c
fs/ext4/ioctl.c
fs/f2fs/file.c
fs/hpfs/dir.c
fs/hpfs/file.c
fs/nilfs2/ioctl.c
fs/ocfs2/ioctl.c