Re: [PATCH 2/2] NFS: Ensure struct nfs_client holds a reference to the net namespace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux