aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_aops.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-09-05 10:06:55 +1000
committerNathan Scott <nathans@sgi.com>2005-09-05 10:06:55 +1000
commitc31e887807a3eab26614ee142629ba447cbcc0dc (patch)
treecb62912731e2fb0e2afde311c5bdc12d018df179 /fs/xfs/linux-2.6/xfs_aops.c
parenta3c476d8a19ded7c5f1e17ea07df377764d9d1d3 (diff)
downloadlinux-c31e887807a3eab26614ee142629ba447cbcc0dc.tar.gz
[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>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_aops.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_aops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_aops.c b/fs/xfs/linux-2.6/xfs_aops.c
index ea615e2f476d6..c6c077978fe38 100644
--- a/fs/xfs/linux-2.6/xfs_aops.c
+++ b/fs/xfs/linux-2.6/xfs_aops.c
@@ -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;
}