]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: use ->reconfigure() instead of ->remount_fs()
authorMiklos Szeredi <mszeredi@redhat.com>
Tue, 14 Jul 2020 12:45:41 +0000 (14:45 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 14 Jul 2020 12:45:41 +0000 (14:45 +0200)
commitf616d069dc554a9cabf50e29049e82f38e4157aa
tree93f7ae74351f20d20d43ed852f81303ad9183277
parent5ec7c079ad624f3395b245d74863c31805761907
fuse: use ->reconfigure() instead of ->remount_fs()

s_op->remount_fs() is only called from legacy_reconfigure(), which is not
used after being converted to the new API.

Convert to using ->reconfigure().  This restores the previous behavior of
syncing the filesystem and rejecting MS_MANDLOCK on remount.

Fixes: 841e9a901f86 ("fuse: convert to use the new mount API")
Cc: <stable@vger.kernel.org> # v5.4
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/inode.c