Handle LRU reference separate from set_current_entry

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
MORE Use proper refcounting of state_t, entry, owner, and export in rest of delegations code

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
MORE Use proper refcounting of state_t, entry, and owner in state_export_release_nfs4_state

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
MORE Use proper refcounting of state_t, entry, and export in nfs4_op_layoutreturn

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Revoke layouts on lease expiry and unexport

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Take so_mutex in client_id_has_state when checking so_state_list

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
MORE MORE Use proper refcounting of state_t, entry, owner, and export in rest of delegations code

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
MORE Revoke layouts on lease expiry and unexport

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Hold cid_mutex while walking the lists of lock and open owners on lease expire

Also assure that the lists drain to empty.

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
Protect state_segments list by assuring state_lock is held

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>