[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1155143839.19249.151.camel@localhost.localdomain>
Date: Wed, 09 Aug 2006 10:17:19 -0700
From: Dave Hansen <haveblue@...ibm.com>
To: Christoph Hellwig <hch@...radead.org>
Cc: akpm@...l.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/6] unlink: monitor i_nlink
On Wed, 2006-08-09 at 18:11 +0100, Christoph Hellwig wrote:
> On Wed, Aug 09, 2006 at 09:57:32AM -0700, Dave Hansen wrote:
> >
> > When a filesystem decrements i_nlink to zero, it means that a
> > write must be performed in order to drop the inode from the
> > filesystem.
> >
> > We're shortly going to have keep filesystems from being remounted
> > r/o between the time that this i_nlink decrement and that write
> > occurs.
> >
> > So, add a little helper function to do the decrements. We'll
> > tie into it in a bit to note when i_nlink hits zero.
> >
> > Signed-off-by: Dave Hansen <haveblue@...ibm.com>
>
> Acked-by: Christoph Hellwig <hch@....de>
> Note that we all (and especially Andrew :)) need to be carefull not to
> introduce unguarded i_nlink decrements again. Dave, you'll probably need
> to do another audit when you introduce the real functionality.
Yup, I have my eyes on it. git and mm commits should help as well.
-- Dave
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists