patch-2.1.94 linux/fs/buffer.c

Next file: linux/fs/devpts/root.c
Previous file: linux/drivers/video/skeletonfb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.93/linux/fs/buffer.c linux/fs/buffer.c
@@ -1335,6 +1335,8 @@
 			atomic_read(&nr_async_pages));
 #endif
 	}
+	if (test_and_clear_bit(PG_swap_unlock_after, &page->flags))
+		swap_after_unlock_page(page->offset);
 	if (test_and_clear_bit(PG_free_after, &page->flags))
 		__free_page(page);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov