NFS: Initialise the nfs_net->nfs_client_lock
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 7 Feb 2012 05:05:11 +0000 (00:05 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 15 Feb 2012 05:19:49 +0000 (00:19 -0500)
Ensure that we initialise the nfs_net->nfs_client_lock spinlock.
Also ensure that nfs_server_remove_lists() doesn't try to
dereference server->nfs_client before that is initialised.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Stanislav Kinsbursky <skinsbursky@parallels.com>

No differences found