From: Trond Myklebust Date: Wed, 23 May 2012 17:24:36 +0000 (-0400) Subject: NFSv4: Fix a race in the net namespace mount notification X-Git-Tag: v3.5-rc1~52^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4697bd5e9419348ef9fa9b55cefe4355ad9d3d01;p=pandora-kernel.git 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 Signed-off-by: Trond Myklebust Acked-by: Stanislav Kinsbursky --- Reading git-diff-tree failed