Commit 5d687621 authored by Nathan Scott's avatar Nathan Scott Committed by Christoph Hellwig

[XFS] Revive an accidentally dropped pagesize > blocksize assert.

parent bf4269d7
......@@ -409,6 +409,7 @@ _pagebuf_lookup_pages(
* In this case page->private holds a bitmap
* of uptodate sectors within the page
*/
ASSERT(blocksize < PAGE_CACHE_SIZE);
range = (offset + nbytes) >> sectorshift;
for (j = offset >> sectorshift; j < range; j++)
if (!test_bit(j, &page->private))
......
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