summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2005-09-05 02:06:55 +0200
committerNathan Scott <nathans@sgi.com>2005-09-05 02:06:55 +0200
commitc31e887807a3eab26614ee142629ba447cbcc0dc (patch)
treecb62912731e2fb0e2afde311c5bdc12d018df179 /fs/xfs/linux-2.6
parent[XFS] replace "extern inline" with "static inline" Patch from Adrian Bunk (diff)
downloadlinux-c31e887807a3eab26614ee142629ba447cbcc0dc.tar.xz
linux-c31e887807a3eab26614ee142629ba447cbcc0dc.zip
[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')
-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 ea615e2f476d..c6c077978fe3 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;
}