diff options
author | Nathan Scott <nathans@sgi.com> | 2005-09-04 20:06:55 -0400 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2005-09-04 20:06:55 -0400 |
commit | c31e887807a3eab26614ee142629ba447cbcc0dc (patch) | |
tree | cb62912731e2fb0e2afde311c5bdc12d018df179 /fs/xfs/linux-2.6 | |
parent | a3c476d8a19ded7c5f1e17ea07df377764d9d1d3 (diff) |
[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.c | 2 |
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( | |||
804 | continue; | 804 | continue; |
805 | if (!iomp) { | 805 | if (!iomp) { |
806 | err = xfs_map_blocks(inode, offset, len, &iomap, | 806 | err = xfs_map_blocks(inode, offset, len, &iomap, |
807 | BMAPI_READ|BMAPI_IGNSTATE); | 807 | BMAPI_WRITE|BMAPI_IGNSTATE); |
808 | if (err) { | 808 | if (err) { |
809 | goto error; | 809 | goto error; |
810 | } | 810 | } |