]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: fix destroy_session race
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 14 Mar 2013 23:55:33 +0000 (19:55 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 3 Apr 2013 15:48:38 +0000 (11:48 -0400)
commit2580796ccbe24ca3e013edbcd73618397aee347e
tree307abc0998ddfdfcf2cc1d251190ea606476b060
parentffe98df122d8150c7798d57eb492e0be7109ed38
nfsd4: fix destroy_session race

destroy_session uses the session and client without continuously holding
any reference or locks.

Put the whole thing under the state lock for now.

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