[PATCH] delete from_swap_cache BUG_ONs
authorHugh Dickins <hugh@veritas.com>
Sat, 3 Sep 2005 22:54:43 +0000 (15:54 -0700)
committerLinus Torvalds <torvalds@evo.osdl.org>
Mon, 5 Sep 2005 07:05:42 +0000 (00:05 -0700)
commit3279ffd97f1b3962e40d3c5f09495ef8320b180b
tree56c72808c731a73fd50f3df37fd3af770812a7ee
parentdae06ac43d56d23e50a2300d511b32a9e38cd657
[PATCH] delete from_swap_cache BUG_ONs

Three of the four BUG_ONs in delete_from_swap_cache are immediately
repeated in __delete_from_swap_cache: delete those and add the one.  But
perhaps mm/ is altogether overprovisioned with historic BUGs?

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/swap_state.c