]> git.ipfire.org Git - people/ms/linux.git/commit - fs/gfs2/file.c
gfs2: add compat_ioctl support
authorArnd Bergmann <arnd@arndb.de>
Mon, 3 Jun 2019 11:40:01 +0000 (13:40 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 23 Oct 2019 15:23:46 +0000 (17:23 +0200)
commit8d0980704842e8a68df2c3164c1c165e5c7ebc08
tree83379cc13f1aea081acd6c068947a5c3e9fdb80e
parent0581f1864a635b4e93c99ab8a613dc35f8c15da1
gfs2: add compat_ioctl support

Out of the four ioctl commands supported on gfs2, only FITRIM
works in compat mode.

Add a proper handler based on the ext4 implementation.

Fixes: 6ddc5c3ddf25 ("gfs2: getlabel support")
Reviewed-by: Bob Peterson <rpeterso@redhat.com>
Cc: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
fs/gfs2/file.c