]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd: Ensure that the laundromat unhashes the client before releasing locks
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 30 Jul 2014 12:27:03 +0000 (08:27 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Aug 2014 20:28:18 +0000 (16:28 -0400)
commitab0df6808ebdeeafdf198632d6c63adaf68f3e9c
treec7c09fa544f353f4777826e0c2cc575758798f17
parent23ecba81b6cc3c81dc5d8bf34ee72183cde202a3
nfsd: Ensure that the laundromat unhashes the client before releasing locks

If we leave the client on the confirmed/unconfirmed tables, and leave
the sessions visible on the sessionid_hashtbl, then someone might
find them before we've had a chance to destroy them.

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