summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-18 14:20:19 -0700
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-18 14:20:19 -0700
commit642ac54923e0291ae2c8e42edde18d8c9c0a3c84 (patch)
tree3dbcbbff050551854b29e020f8453306053ae9bb /fs/nfs/nfs4proc.c
parentcae7a073a4c5484cc5713eab606bf54b46724ab3 (diff)
downloadlinux-642ac54923e0291ae2c8e42edde18d8c9c0a3c84.tar.gz
linux-642ac54923e0291ae2c8e42edde18d8c9c0a3c84.tar.bz2
linux-642ac54923e0291ae2c8e42edde18d8c9c0a3c84.zip
NFSv4: Return delegations in case we're changing ACLs
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 3db1c9f0b09c..c10dcd12af51 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -2405,6 +2405,7 @@ static int nfs4_proc_set_acl(struct inode *inode, const void *buf, size_t buflen
if (!nfs4_server_supports_acls(server))
return -EOPNOTSUPP;
+ nfs_inode_return_delegation(inode);
buf_to_pages(buf, buflen, arg.acl_pages, &arg.acl_pgbase);
ret = rpc_call_sync(NFS_SERVER(inode)->client, &msg, 0);
if (ret == 0)