From: Neil Brown Date: Thu, 12 Jun 2008 03:38:42 +0000 (+1000) Subject: nfsd: fix race in nfsd_nrthreads() X-Git-Tag: v2.6.27-rc1~961^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7d106c90ec40a0e35a6960157b40f238627246e;p=pandora-kernel.git nfsd: fix race in nfsd_nrthreads() We need the nfsd_mutex before accessing nfsd_serv->sv_nrthreads or we can't even guarantee nfsd_serv will still be there. Signed-off-by: Neil Brown Acked-by: Jeff Layton Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed