diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_buf.c | 3 |
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( | |||
458 | unlock_page(bp->pb_pages[i]); | 458 | unlock_page(bp->pb_pages[i]); |
459 | } | 459 | } |
460 | 460 | ||
461 | bp->pb_flags &= ~PBF_NONE; | 461 | if (page_count) |
462 | bp->pb_flags &= ~PBF_NONE; | ||
462 | 463 | ||
463 | PB_TRACE(bp, "lookup_pages", (long)page_count); | 464 | PB_TRACE(bp, "lookup_pages", (long)page_count); |
464 | return error; | 465 | return error; |