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-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html