mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
[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>
This commit is contained in:
parent
da1650a5d6
commit
739cafd316
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user