Re: [PATCH 01/10] xfs: improve mapping type check in xfs_vm_writepage

Dave Chinner
2010-12-01T03:59:50Z

On Mon, Nov 22, 2010 at 08:05:07AM -0500, Christoph Hellwig wrote:
> Currently we only refuse a "read-only" mapping for writing out
> unwritten and delayed buffers, and refuse any other for overwrites.
> Improve the checks to require delalloc mappings for delayed buffers,
> and unwritten extent mappings for unwritten extents.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Looks good.

Reviewed-by: Dave Chinner <dchinner@redhat.com>
--
Dave Chinner
david@fromorbit.com