diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-04-04 01:27:52 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-04-05 23:03:57 +0200 |
commit | 826e0013082a86fb16f2e414314a5268f744fb96 (patch) | |
tree | 0e99a0f165cc4057dcb372da8bbf19f6c2b98c49 /fs/nfs/callback_proc.c | |
parent | NFSv4: Clean up nfs_expire_all_delegations (diff) | |
download | linux-826e0013082a86fb16f2e414314a5268f744fb96.tar.xz 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.c | 2 |
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; |