nfsd4: nfsd_shutdown_net needs state lock
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 30 Oct 2013 14:33:09 +0000 (10:33 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 30 Oct 2013 14:35:59 +0000 (10:35 -0400)
commite50a26dc785f12a6df1f1ac16d62faf0342b72af
tree72b2520bd8e298cbd789522e370dea5d30a59180
parente1a90ebd8b2349eb00ec22f0b8bf6ab8bbd06cc8
nfsd4: nfsd_shutdown_net needs state lock

A comment claims the caller should take it, but that's not being done.
Note we don't want it around the cancel_delayed_work_sync since that may
wait on work which holds the client lock.

Reported-by: Benny Halevy <bhalevy@primarydata.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c