aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorDavid Chinner <[email protected]>2007-02-10 18:36:35 +1100
committerTim Shimmin <[email protected]>2007-02-10 18:36:35 +1100
commit549054afadae44889c0b40d4c3bfb0207b98d5a0 (patch)
treefe82d3c74b4ac1412746e29300df9ca725603d2f /include/linux/debugobjects.h
parent5478eead8528f6cb5ebe3015fb88b68b175e1093 (diff)
[XFS] Fix sub-block zeroing for buffered writes into unwritten extents.
When writing less than a filesystem block of data into an unwritten extent via buffered I/O, __xfs_get_blocks fails to set the buffer new flag. As a result, the generic code will not zero either edge of the block resulting in garbage being written to disk either side of the real data. Set the buffer new state on bufferd writes to unwritten extents to ensure that zeroing occurs. SGI-PV: 960328 SGI-Modid: xfs-linux-melb:xfs-kern:28000a Signed-off-by: David Chinner <[email protected]> Signed-off-by: Lachlan McIlroy <[email protected]> Signed-off-by: Tim Shimmin <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions