Re: [PATCH 13/17] xfs: Convert sync_page_range() to simplefdatawrite_range()

From: Jan Kara
Date: Fri Aug 21 2009 - 13:59:50 EST


On Fri 21-08-09 19:28:01, Christoph Hellwig wrote:
> On Fri, Aug 21, 2009 at 07:24:03PM +0200, Jan Kara wrote:
> > + error2 = filemap_fdatawrite_range(mapping, pos, pos + ret - 1);
>
> I think this should be a filemap_write_and_wait_range
Ah true, I somehow misinterpretted what xfs_write_sync_logforce() does.

Honza
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
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/