Non functional changes.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
cleanup delegation state.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Use state_unlock_locked in deleg_revoke.

This will prevent races between deleg_revoke and delegreturn.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
lock type check not required for entries in deleg_list.

deleg_list will have only LEASE_LOCK type entries.

s/TRUE/true s/FALSE/false.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Use delayed exec thread instead of fridge thread.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Keep refs on the cache inode entry and clientid.

We do not want these to go away in case of delegreturns.
These refs will be released as soon as we find the the delegation
has been returned or revoked by the server.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Use single copy of delegation_context for a recall.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>
Make CB_RECALL response handling async.

The server will keep retrying unless the client returns
the delegation or revoke criteria is matched.
Remove unrequired config var.

Signed-off-by: Srikrishan Malik <srimalik@in.ibm.com>