diff options
author | Christoph Hellwig <[email protected]> | 2010-12-10 08:42:16 +0000 |
---|---|---|
committer | Alex Elder <[email protected]> | 2010-12-16 16:05:34 -0600 |
commit | 85da94c6b4666582c38579ccdcd90a5d9b5697ef (patch) | |
tree | 013edf60a13fd0a551e95bf76a1284209ecd23c2 /lib/genalloc.c | |
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 <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Alex Elder <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions