diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2018-03-20 21:43:18 +0100 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2018-04-10 22:06:22 +0200 |
commit | 199366f0173f9e01efc23ecd7d88b82ad34f42fb (patch) | |
tree | 3061a0b88f4ab26b56e1771512b9e460b237a6fe /fs/nfs/inode.c | |
parent | NFS: Add a delegation return into nfs4_proc_unlink_setup() (diff) | |
download | linux-199366f0173f9e01efc23ecd7d88b82ad34f42fb.tar.xz linux-199366f0173f9e01efc23ecd7d88b82ad34f42fb.zip |
NFS: Move the delegation return down into _nfs4_do_setattr()
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/inode.c')
-rw-r--r-- | fs/nfs/inode.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 7d893543cf3b..9da00b2e26a1 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c @@ -613,11 +613,6 @@ nfs_setattr(struct dentry *dentry, struct iattr *attr) goto out; } - /* - * Return any delegations if we're going to change ACLs - */ - if ((attr->ia_valid & (ATTR_MODE|ATTR_UID|ATTR_GID)) != 0) - NFS_PROTO(inode)->return_delegation(inode); error = NFS_PROTO(inode)->setattr(dentry, fattr, attr); if (error == 0) error = nfs_refresh_inode(inode, fattr); |