summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@sgi.com>2005-11-02 10:25:51 +1100
committerNathan Scott <nathans@sgi.com>2005-11-02 10:25:51 +1100
commit739cafd316235fc55463849e80710f2ca308b9ae (patch)
treedfbe31cb01f12309b91b0142566f1d94931d6864 /fs/xfs/linux-2.6
parentda1650a5d6026df1bde414173c40bbe09305e6e6 (diff)
downloadblackbird-op-linux-739cafd316235fc55463849e80710f2ca308b9ae.tar.gz
blackbird-op-linux-739cafd316235fc55463849e80710f2ca308b9ae.zip
[XFS] fix PBF_NONE handling
SGI-PV: 908809 SGI-Modid: xfs-linux:xfs-kern:198669a Signed-off-by: Christoph Hellwig <hch@sgi.com> 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_buf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_buf.c b/fs/xfs/linux-2.6/xfs_buf.c
index 489b7f63fd1f..188cbbd5b74a 100644
--- a/fs/xfs/linux-2.6/xfs_buf.c
+++ b/fs/xfs/linux-2.6/xfs_buf.c
@@ -458,7 +458,8 @@ _pagebuf_lookup_pages(
unlock_page(bp->pb_pages[i]);
}
- bp->pb_flags &= ~PBF_NONE;
+ if (page_count)
+ bp->pb_flags &= ~PBF_NONE;
PB_TRACE(bp, "lookup_pages", (long)page_count);
return error;
OpenPOWER on IntegriCloud