nfsd: update workqueue creation
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 14 Nov 2016 16:13:43 +0000 (11:13 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 14 Nov 2016 16:13:43 +0000 (11:13 -0500)
commit88382036674770173128417e4c09e9e549f82d54
treeb4aa82167cda7fc3e572f3d3aec590ca51e4b9fd
parent56094edd17971372c7fea078ab41315ebf6214d0
nfsd: update workqueue creation

No real change in functionality, but the old interface seems to be
deprecated.

We don't actually care about ordering necessarily, but we do depend on
running at most one work item at a time: nfsd4_process_cb_update()
assumes that no other thread is running it, and that no new callbacks
are starting while it's running.

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4callback.c