Commit 7beb00ce authored by Nathan Scott's avatar Nathan Scott Committed by Christoph Hellwig

[XFS] Only use page->private to track page state for page cache pages

SGI Modid: xfs-linux:xfs-kern:169801a
parent 15a935de
......@@ -1262,7 +1262,8 @@ bio_end_io_pagebuf(
SetPageError(page);
} else if (blocksize == PAGE_CACHE_SIZE) {
SetPageUptodate(page);
} else if (!PagePrivate(page)) {
} else if (!PagePrivate(page) &&
(pb->pb_flags & _PBF_PAGE_CACHE)) {
unsigned long j, range;
ASSERT(blocksize < PAGE_CACHE_SIZE);
......
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