NFSv4: Ensure we skip delegations that are already being returned
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 26 Feb 2015 19:05:05 +0000 (14:05 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 2 Mar 2015 23:09:15 +0000 (18:09 -0500)
In nfs_client_return_marked_delegations() and nfs_delegation_reap_unclaimed()
we want to optimise the loop traversal by skipping delegations that are
already in the process of being returned.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/delegation.c

Simple merge