Re: [PATCH 5/6] clean up OCFS2 nlink handling

Steven Whitehouse
2006-08-10T07:57:19Z

Hi,

On Wed, 2006-08-09 at 12:15 -0700, Dave Hansen wrote:
> On Wed, 2006-08-09 at 18:12 +0100, Christoph Hellwig wrote:
[snip]
> > did you look whether gfs2 in -mm needs something similar?
>
> It doesn't appear to. It doesn't manipulate i_nlink in the same, direct
> manner.
>
> -- Dave

I think it will need something similar. I suspect the required changes
will all be confined to routines in inode.c. If the link count is
changed by (a) remote node(s), then gfs2_inode_attr_in() might change
the link count. Also gfs2_change_nlink() is the other place to look. I
think everywhere else is ok,

Steve.