summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-23 13:24:36 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-05-23 15:21:13 -0400
commit4697bd5e9419348ef9fa9b55cefe4355ad9d3d01 (patch)
tree20bf5da80d10ec4df42ae0c3067af39a36f11c28 /fs/namei.c
parent7b38c3682c5cab4f98751d5fe57b78a59020653d (diff)
downloadop-kernel-dev-4697bd5e9419348ef9fa9b55cefe4355ad9d3d01.zip
op-kernel-dev-4697bd5e9419348ef9fa9b55cefe4355ad9d3d01.tar.gz
NFSv4: Fix a race in the net namespace mount notification
Since the struct nfs_client gets added to the global nfs_client_list before it is initialised, it is possible that rpc_pipefs_event can end up trying to create idmapper entries on such a thing. The solution is to have the mount notification wait for the initialisation of each nfs_client to complete, and then to skip any entries for which the it failed. Reported-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Acked-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud