]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit14a7c8d3cf3601c05e6c78eca4ee4013802c6519
tree91d16026684c82e841f78cbc88e61d518eb701c4
parentf0ea8dd3abf9bbdafa5d7e6e4f5897f2f4f5dd53
NFS: Initialise the nfs_net->nfs_client_lock

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>
fs/nfs/client.c