gfs2: Convert gfs2 to fs_context
authorAndrew Price <anprice@redhat.com>
Wed, 27 Mar 2019 14:46:00 +0000 (14:46 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 19 Sep 2019 02:47:05 +0000 (22:47 -0400)
commit1f52aa08d12f8d359e71b4bfd73ca9d5d668e4da
tree2f21b573593ce4d31b2ce46287554c5924c24555
parentd2e0981c3b9a7d31b59f81477c6acacb1bcc4513
gfs2: Convert gfs2 to fs_context

Convert gfs2 and gfs2meta to fs_context. Removes the duplicated vfs code
from gfs2_mount and instead uses the new vfs_get_block_super() before
switching the ->root to the appropriate dentry.

The mount option parsing has been converted to the new API and error
reporting for invalid options has been made more precise at the same
time.

All of the mount/remount code has been moved into ops_fstype.c

Signed-off-by: Andrew Price <anprice@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: cluster-devel@redhat.com
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/gfs2/incore.h
fs/gfs2/ops_fstype.c
fs/gfs2/super.c
fs/gfs2/super.h