Skip to content
Commit c7d106c9 authored by Neil Brown's avatar Neil Brown Committed by J. Bruce Fields
Browse files

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: default avatarNeil Brown <neilb@suse.de>
Acked-by: default avatarJeff Layton <jlayton@redhat.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
parent abd1ec4e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment