summaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback_proc.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2013-04-03 19:27:52 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-04-05 17:03:57 -0400
commit826e0013082a86fb16f2e414314a5268f744fb96 (patch)
tree0e99a0f165cc4057dcb372da8bbf19f6c2b98c49 /fs/nfs/callback_proc.c
parentb02ba0b66095d2fdcc6b74538aa5a0ae13976745 (diff)
downloadtalos-op-linux-826e0013082a86fb16f2e414314a5268f744fb96.tar.gz
talos-op-linux-826e0013082a86fb16f2e414314a5268f744fb96.zip
NFSv4: Fix CB_RECALL_ANY to only return delegations that are not in use
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/callback_proc.c')
-rw-r--r--fs/nfs/callback_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/callback_proc.c b/fs/nfs/callback_proc.c
index 2960512792c2..a13d26ede254 100644
--- a/fs/nfs/callback_proc.c
+++ b/fs/nfs/callback_proc.c
@@ -500,7 +500,7 @@ __be32 nfs4_callback_recallany(struct cb_recallanyargs *args, void *dummy,
&args->craa_type_mask))
pnfs_recall_all_layouts(cps->clp);
if (flags)
- nfs_expire_all_delegation_types(cps->clp, flags);
+ nfs_expire_unused_delegation_types(cps->clp, flags);
out:
dprintk("%s: exit with status = %d\n", __func__, ntohl(status));
return status;
OpenPOWER on IntegriCloud