From: J. Bruce Fields Date: Sat, 24 Apr 2010 19:35:43 +0000 (-0400) Subject: nfsd4: fix unlikely race in session replay case X-Git-Tag: v2.6.35-rc1~489^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26c0c75e69265961e891ed80b38fb62a548ab371;p=pandora-kernel.git nfsd4: fix unlikely race in session replay case In the replay case, the renew_client(session->se_client); happens after we've droppped the sessionid_lock, and without holding a reference on the session; so there's nothing preventing the session being freed before we get here. Thanks to Benny Halevy for catching a bug in an earlier version of this patch. Signed-off-by: J. Bruce Fields Acked-by: Benny Halevy --- Reading git-diff-tree failed