aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/nfs/export.c
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2021-10-22 13:11:11 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-11-05 14:54:40 -0400
commitcf7ab00aabbf9c8f1ec72edff15849ddc23aa6a7 (patch)
tree650bdb85dddc6d385c700b10d15fbb99176da38e /fs/nfs/export.c
parentNFS: Remove the nfs4_label argument from nfs_add_or_obtain() (diff)
downloadwireguard-linux-cf7ab00aabbf9c8f1ec72edff15849ddc23aa6a7.tar.xz
wireguard-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/export.c')
-rw-r--r--fs/nfs/export.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/export.c b/fs/nfs/export.c
index a0462f7e7e35..171c424cb6d5 100644
--- a/fs/nfs/export.c
+++ b/fs/nfs/export.c
@@ -103,7 +103,7 @@ nfs_fh_to_dentry(struct super_block *sb, struct fid *fid,
goto out_free_fattr;
}
- inode = nfs_fhget(sb, server_fh, fattr, fattr->label);
+ inode = nfs_fhget(sb, server_fh, fattr);
out_found:
dentry = d_obtain_alias(inode);
@@ -138,7 +138,7 @@ nfs_get_parent(struct dentry *dentry)
goto out;
}
- pinode = nfs_fhget(sb, &fh, fattr, fattr->label);
+ pinode = nfs_fhget(sb, &fh, fattr);
parent = d_obtain_alias(pinode);
out:
nfs_free_fattr(fattr);