summaryrefslogtreecommitdiffstats
path: root/fs/nfs/proc.c
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2021-10-22 19:11:04 +0200
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-11-05 19:54:39 +0100
commit9558a007dbc383d48e7f5a123d0b5ff656c71068 (patch)
treee1cc477ad819cb3e30c9ea02b98eff73a539d979 /fs/nfs/proc.c
parentNFS: Remove the nfs4_label from the nfs4_link_res struct (diff)
downloadlinux-9558a007dbc383d48e7f5a123d0b5ff656c71068.tar.xz
linux-9558a007dbc383d48e7f5a123d0b5ff656c71068.zip
NFS: Remove the label from the nfs4_lookup_res struct
And usethe fattr's label field instead. I also adjust function calls to remove labels along the way. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/proc.c')
-rw-r--r--fs/nfs/proc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/proc.c b/fs/nfs/proc.c
index ecc4e717808c..98a8901ede2e 100644
--- a/fs/nfs/proc.c
+++ b/fs/nfs/proc.c
@@ -154,8 +154,7 @@ nfs_proc_setattr(struct dentry *dentry, struct nfs_fattr *fattr,
static int
nfs_proc_lookup(struct inode *dir, struct dentry *dentry,
- struct nfs_fh *fhandle, struct nfs_fattr *fattr,
- struct nfs4_label *label)
+ struct nfs_fh *fhandle, struct nfs_fattr *fattr)
{
struct nfs_diropargs arg = {
.fh = NFS_FH(dir),