projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da1650a
)
[XFS] fix PBF_NONE handling
author
Christoph Hellwig
<hch@sgi.com>
Tue, 1 Nov 2005 23:25:51 +0000
(10:25 +1100)
committer
Nathan Scott
<nathans@sgi.com>
Tue, 1 Nov 2005 23:25:51 +0000
(10:25 +1100)
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>
fs/xfs/linux-2.6/xfs_buf.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/xfs/linux-2.6/xfs_buf.c
b/fs/xfs/linux-2.6/xfs_buf.c
index 489b7f63fd1fe9d3e2faa997a6b976d22b586a2f..188cbbd5b74a437ac23f957983b0d766c5369de0 100644
(file)
--- 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;