]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: don't destroy client if mark_client_expired_locked fails
authorJeff Layton <jlayton@primarydata.com>
Wed, 30 Jul 2014 12:27:13 +0000 (08:27 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Aug 2014 20:28:26 +0000 (16:28 -0400)
commit83495637b0de9559b0b4ee380129e5255a5799b0
tree7d17964991214a03a207a250c12d673c81f1b0e1
parent9bbadd515320354420b28fa9e8464b7ce6868ac4
nfsd: don't destroy client if mark_client_expired_locked fails

If it fails, it means that the client is in use and so destroying it
would be bad. Currently, the client_mutex prevents this from happening
but once we remove it, we won't be able to do this.

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