patch-2.2.0-pre5 linux/include/linux/swap.h
Next file: linux/include/linux/sysctl.h
Previous file: linux/include/linux/sound.h
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Wed Jan 6 10:07:42 1999
- Orig file:
v2.2.0-pre4/linux/include/linux/swap.h
- Orig date:
Mon Dec 28 15:00:53 1998
diff -u --recursive --new-file v2.2.0-pre4/linux/include/linux/swap.h linux/include/linux/swap.h
@@ -166,12 +166,7 @@
return 1;
count = atomic_read(&page->count);
if (PageSwapCache(page))
- {
- /* PARANOID */
- if (page->inode != &swapper_inode)
- panic("swap cache page has wrong inode\n");
count += swap_count(page->offset) - 2;
- }
if (PageFreeAfter(page))
count--;
return count > 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov