erofs: convert to use the new mount fs_context api
authorChao Yu <yuchao0@huawei.com>
Fri, 29 May 2020 10:48:36 +0000 (18:48 +0800)
committerGao Xiang <hsiangkao@redhat.com>
Fri, 29 May 2020 10:57:58 +0000 (18:57 +0800)
commitf57a3fe44995a3820192e0cf7c3ebdecedd9586e
tree9ccd1e17602efbb7836f2bf98a80fb15d7e69112
parente7cda1ee94f464e02e356319aec7d83ccba8cab4
erofs: convert to use the new mount fs_context api

Convert the erofs to use new internal mount API as the old one will
be obsoleted and removed.  This allows greater flexibility in
communication of mount parameters between userspace, the VFS and the
filesystem.

See Documentation/filesystems/mount_api.txt for more information.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Link: https://lore.kernel.org/r/20200529104836.17843-1-hsiangkao@redhat.com
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
fs/erofs/internal.h
fs/erofs/super.c
fs/erofs/xattr.c
fs/erofs/zdata.c