Re: [PATCH 3/3] AFS: Implement basic file write support

From: Andrew Morton
Date: Wed May 09 2007 - 12:29:25 EST


On Wed, 09 May 2007 12:07:39 +0100 David Howells <dhowells@xxxxxxxxxx> wrote:

> Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> > set_page_dirty() will set I_DIRTY_PAGES only. ie: the inode has dirty
> > pagecache data.
> >
> > To tell the VFS that the inode itself is dirty one needs to run
> > mark_inode_dirty().
>
> But what's the difference in this case? I don't need to write the inode back
> per se, and the inode attributes can be updated by the mechanism of data
> storage.
>

Ah. Well if you don't need to write the inode back then sure, there
shouldn't be a need to mark it dirty. That's what I was asking ;)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/