commit | c7d106c90ec40a0e35a6960157b40f238627246e | [log] [tgz] |
---|---|---|
author | Neil Brown <neilb@suse.de> | Thu Jun 12 13:38:42 2008 +1000 |
committer | J. Bruce Fields <bfields@citi.umich.edu> | Mon Jun 23 13:02:50 2008 -0400 |
tree | 21dd79c282982c65f39a00df406dad02cadb6efc | |
parent | abd1ec4efd82ca06127bce833ad8a4bbec8a0dcb [diff] |
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 <neilb@suse.de> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>