aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2021-10-22 13:11:08 -0400
committerTrond Myklebust <trond.myklebust@hammerspace.com>2021-11-05 14:54:39 -0400
commit1b00ad657997c8984a9e627a3bd37ea14f20beb2 (patch)
tree466f583fba626b1c567335d2605d6ef1dcf7e241 /fs/nfs/inode.c
parentNFS: Remove the nfs4_label from the nfs4_getattr_res (diff)
downloadlinux-dev-1b00ad657997c8984a9e627a3bd37ea14f20beb2.tar.xz
linux-dev-1b00ad657997c8984a9e627a3bd37ea14f20beb2.zip
NFS: Remove the nfs4_label from the nfs_setattrres
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r--fs/nfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c
index 7d9dca781956..df109287f2e0 100644
--- a/fs/nfs/inode.c
+++ b/fs/nfs/inode.c
@@ -650,7 +650,7 @@ nfs_setattr(struct user_namespace *mnt_userns, struct dentry *dentry,
if (S_ISREG(inode->i_mode))
nfs_sync_inode(inode);
- fattr = nfs_alloc_fattr();
+ fattr = nfs_alloc_fattr_with_label(NFS_SERVER(inode));
if (fattr == NULL) {
error = -ENOMEM;
goto out;