[XFS] Fix incorrect use of BMAPI_READ in unwritten extent handling
(luckily just cosmetic). SGI-PV: 942232 SGI-Modid: xfs-linux-melb:xfs-kern:23718a Signed-off-by: Nathan Scott <nathans@sgi.com>
This commit is contained in:
@@ -804,7 +804,7 @@ xfs_page_state_convert(
|
||||
continue;
|
||||
if (!iomp) {
|
||||
err = xfs_map_blocks(inode, offset, len, &iomap,
|
||||
BMAPI_READ|BMAPI_IGNSTATE);
|
||||
BMAPI_WRITE|BMAPI_IGNSTATE);
|
||||
if (err) {
|
||||
goto error;
|
||||
}
|
||||
|
Reference in New Issue
Block a user