nfsd4: don't destroy in-use session
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 19 Mar 2013 16:05:39 +0000 (12:05 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Apr 2013 15:48:40 +0000 (11:48 -0400)
commit66b2b9b2b0e8a9034806293a436628400a44a71d
treea1a142425240c28f7b942dc665afe77752c82ae1
parent221a68766973d7a3afe40a05abd8258b5de016a0
nfsd4: don't destroy in-use session

This changes session destruction to be similar to client destruction in
that attempts to destroy a session while in use (which should be rare
corner cases) result in DELAY.  This simplifies things somewhat and
helps meet a coming 4.2 requirement.

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