]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26020b53b2afc3a4f3bbc56084afa28e2cea74db
tree83379cc13f1aea081acd6c068947a5c3e9fdb80e
parent4f887e3434186576922fc77b99c9637ececc32d3
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: 98215746ce52 ("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