diff options
author | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2021-10-22 13:11:08 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-11-05 14:54:39 -0400 |
commit | 1b00ad657997c8984a9e627a3bd37ea14f20beb2 (patch) | |
tree | 466f583fba626b1c567335d2605d6ef1dcf7e241 /fs/nfs/inode.c | |
parent | 2ef61e0eaa333e4e9c348c41a4b7abfb34b8736d (diff) | |
download | linux-1b00ad657997c8984a9e627a3bd37ea14f20beb2.tar.gz linux-1b00ad657997c8984a9e627a3bd37ea14f20beb2.tar.bz2 linux-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.c | 2 |
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; |