Commit ea791101 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Nathan Scott

[XFS] fix NULL pointer dereference in pagebuf

SGI Modid: 2.5.x-xfs:slinx:130709a
parent 272ce1b4
......@@ -571,6 +571,7 @@ _pagebuf_lookup_pages(
if (!pb->pb_locked) {
for (pi = 0; pi < page_count; pi++) {
if (pb->pb_pages[pi])
unlock_page(pb->pb_pages[pi]);
}
}
......
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