Re: [PATCH 2/2] NFS: Ensure struct nfs_client holds a reference to the net namespace
From: Stanislav Kinsbursky <hidden> Date: 2012-02-22 12:51:14
19.02.2012 11:50, Trond Myklebust пишет:
Otherwise we have no guarantee that the net namespace won't just
disappear from underneath us once the task that created it
is destroyed.
I'm not 100% sure, but holding net reference on NFS client level looks redundant
to me, because nfs_client holds net reference on transport level (xprt_net).
But this is not an objection: code looks clearer and safer with this patch.
--
Best regards,
Stanislav Kinsbursky