]> git.neil.brown.name Git - history.git/commit
[PATCH] Don't swap to files which do not implement readpage
authorAndrew Morton <akpm@osdl.org>
Thu, 16 Oct 2003 00:31:16 +0000 (17:31 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Thu, 16 Oct 2003 00:31:16 +0000 (17:31 -0700)
commit81a070730e602042e2f38ad68c2922d4e1a50920
treef57a34d2696417490b72bbdce89963c747d23165
parentab642d48be6a70a691d64dcc99cd0b52bc87a430
[PATCH] Don't swap to files which do not implement readpage

From: Zwane Mwaikambo <zwane@arm.linux.org.uk>

The swapon code uses read_cache_page() to access the swap header, so the
filesystem had better implement it.
mm/swapfile.c