commit | 85da94c6b4666582c38579ccdcd90a5d9b5697ef | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Fri Dec 10 08:42:16 2010 +0000 |
committer | Alex Elder <aelder@sgi.com> | Thu Dec 16 16:05:34 2010 -0600 |
tree | 013edf60a13fd0a551e95bf76a1284209ecd23c2 | |
parent | c9f71f5fc4390ea3a8087c00d53a799e7e0f0f8e [diff] |
xfs: improve mapping type check in xfs_vm_writepage 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> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Alex Elder <aelder@sgi.com>