NFS: Additional refactoring for fs_context conversion
Split out from commit "NFS: Add fs_context support." This patch adds additional refactoring for the conversion of NFS to use fs_context, namely: (*) Merge nfs_mount_info and nfs_clone_mount into nfs_fs_context. nfs_clone_mount has had several fields removed, and nfs_mount_info has been removed altogether. (*) Various functions now take an fs_context as an argument instead of nfs_mount_info, nfs_fs_context, etc. Signed-off-by: Scott Mayhew <smayhew@redhat.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:

committed by
Anna Schumaker

parent
f2aedb713c
commit
62a55d088c
@@ -46,9 +46,10 @@ static inline void nfs_init_server_aclclient(struct nfs_server *server)
|
||||
}
|
||||
#endif
|
||||
|
||||
struct nfs_server *nfs3_create_server(struct nfs_mount_info *mount_info)
|
||||
struct nfs_server *nfs3_create_server(struct fs_context *fc)
|
||||
{
|
||||
struct nfs_server *server = nfs_create_server(mount_info);
|
||||
struct nfs_server *server = nfs_create_server(fc);
|
||||
|
||||
/* Create a client RPC handle for the NFS v3 ACL management interface */
|
||||
if (!IS_ERR(server))
|
||||
nfs_init_server_aclclient(server);
|
||||
|
Reference in New Issue
Block a user