Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] hfs: don't reference missing page

If there was a read error, the bnode might miss some pages, so skip them.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Roman Zippel and committed by
Linus Torvalds
74f9c9c2 f76d28d2

+4
+2
fs/hfs/bnode.c
··· 480 480 return; 481 481 } 482 482 for (i = 0; i < tree->pages_per_bnode; i++) { 483 + if (!node->page[i]) 484 + continue; 483 485 mark_page_accessed(node->page[i]); 484 486 #if REF_PAGES 485 487 put_page(node->page[i]);
+2
fs/hfsplus/bnode.c
··· 643 643 return; 644 644 } 645 645 for (i = 0; i < tree->pages_per_bnode; i++) { 646 + if (!node->page[i]) 647 + continue; 646 648 mark_page_accessed(node->page[i]); 647 649 #if REF_PAGES 648 650 put_page(node->page[i]);