Commit 739cafd3 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Nathan Scott

[XFS] fix PBF_NONE handling

SGI-PV: 908809
SGI-Modid: xfs-linux:xfs-kern:198669a
Signed-off-by: default avatarChristoph Hellwig <hch@sgi.com>
Signed-off-by: default avatarNathan Scott <nathans@sgi.com>
parent da1650a5
...@@ -458,7 +458,8 @@ _pagebuf_lookup_pages( ...@@ -458,7 +458,8 @@ _pagebuf_lookup_pages(
unlock_page(bp->pb_pages[i]); 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); PB_TRACE(bp, "lookup_pages", (long)page_count);
return error; return error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment