From: J. Bruce Fields Date: Tue, 12 Oct 2010 23:55:25 +0000 (-0400) Subject: nfsd4: delay session removal till free_client X-Git-Tag: v2.6.37-rc1~113^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=792c95dd519c54d6b0fd6401b3da7ea67b0d6b72;p=pandora-kernel.git nfsd4: delay session removal till free_client Have unhash_client_locked() remove client and associated sessions from global hashes, but delay further dismantling till free_client(). (After unhash_client_locked(), the only remaining references outside the destroying thread are from any connections which have xpt_user callbacks registered.) This will simplify locking on session destruction. Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed