Commit 5f9b648e authored by Nathan Scott's avatar Nathan Scott Committed by Stephen Lord

[XFS] Fix a logic error allowing pages to marked uptodate when not all...

[XFS] Fix a logic error allowing pages to marked uptodate when not all attached buffers were uptodate.

SGI Modid: 2.5.x-xfs:slinx:155219a
parent 508fdba5
......@@ -803,7 +803,7 @@ page_state_convert(
bh = bh->b_this_page;
} while (offset < end_offset);
if (uptodate)
if (uptodate && bh == head)
SetPageUptodate(page);
if (startio)
......
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