NFS: Ensure struct nfs_client holds a reference to the net namespace
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 19 Feb 2012 07:46:49 +0000 (08:46 +0100)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 19 Feb 2012 07:46:49 +0000 (08:46 +0100)
commitabd96698613eb27415e7028b6100be930920adc6
tree8049bdcf2d4d9d699f26570424189261680f8a91
parent9937347a1ee6a67e450cc9e90750ce0b10abfe75
NFS: Ensure struct nfs_client holds a reference to the net namespace

Otherwise we have no guarantee that the net namespace won't just
disappear from underneath us once the task that created it
is destroyed.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Stanislav Kinsbursky <skinsbursky@parallels.com>
fs/nfs/client.c