summaryrefslogtreecommitdiffstats
path: root/fs/nfs/getroot.c
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2021-10-22 19:11:11 +0200
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-11-05 19:54:40 +0100
commitcf7ab00aabbf9c8f1ec72edff15849ddc23aa6a7 (patch)
tree650bdb85dddc6d385c700b10d15fbb99176da38e /fs/nfs/getroot.c
parentNFS: Remove the nfs4_label argument from nfs_add_or_obtain() (diff)
downloadlinux-cf7ab00aabbf9c8f1ec72edff15849ddc23aa6a7.tar.xz
linux-cf7ab00aabbf9c8f1ec72edff15849ddc23aa6a7.zip
NFS: Remove the nfs4_label argument from nfs_fhget()
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/getroot.c')
-rw-r--r--fs/nfs/getroot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/getroot.c b/fs/nfs/getroot.c
index 7604cb6a0ac2..0aedee201166 100644
--- a/fs/nfs/getroot.c
+++ b/fs/nfs/getroot.c
@@ -91,7 +91,7 @@ int nfs_get_root(struct super_block *s, struct fs_context *fc)
goto out_fattr;
}
- inode = nfs_fhget(s, ctx->mntfh, fsinfo.fattr, NULL);
+ inode = nfs_fhget(s, ctx->mntfh, fsinfo.fattr);
if (IS_ERR(inode)) {
dprintk("nfs_get_root: get root inode failed\n");
error = PTR_ERR(inode);