nfsd: add an operation for unhashing a stateowner
authorJeff Layton <jlayton@primarydata.com>
Wed, 30 Jul 2014 01:34:29 +0000 (21:34 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 31 Jul 2014 18:20:20 +0000 (14:20 -0400)
Allow stateowners to be unhashed and destroyed when the last reference
is put. The unhashing must be idempotent. In a future patch, we'll add
some locking around it, but for now it's only protected by the
client_mutex.

Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/state.h

Simple merge
diff --cc fs/nfsd/state.h
Simple merge