diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-04-03 19:27:52 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2013-04-05 17:03:57 -0400 |
commit | 826e0013082a86fb16f2e414314a5268f744fb96 (patch) | |
tree | 0e99a0f165cc4057dcb372da8bbf19f6c2b98c49 /fs/nfs/callback_proc.c | |
parent | b02ba0b66095d2fdcc6b74538aa5a0ae13976745 (diff) |
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, | |||
500 | &args->craa_type_mask)) | 500 | &args->craa_type_mask)) |
501 | pnfs_recall_all_layouts(cps->clp); | 501 | pnfs_recall_all_layouts(cps->clp); |
502 | if (flags) | 502 | if (flags) |
503 | nfs_expire_all_delegation_types(cps->clp, flags); | 503 | nfs_expire_unused_delegation_types(cps->clp, flags); |
504 | out: | 504 | out: |
505 | dprintk("%s: exit with status = %d\n", __func__, ntohl(status)); | 505 | dprintk("%s: exit with status = %d\n", __func__, ntohl(status)); |
506 | return status; | 506 | return status; |