diff options
author | Andrew Morton <akpm@osdl.org> | 2004-05-14 05:43:18 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-14 05:43:18 -0700 |
commit | 3a1e4697cbfc3db774d3d29b80d5ef588cfe1d2e (patch) | |
tree | fa71a4f97c8c5874285f8167cbca1a8ab92b6f6f /mm | |
parent | e059d5daf158b1bde61883ee5a091cd4875864a9 (diff) | |
download | history-3a1e4697cbfc3db774d3d29b80d5ef588cfe1d2e.tar.gz |
[PATCH] blk_run_page(): fixup for swap_unplug_io_fn()
Diffstat (limited to 'mm')
-rw-r--r-- | mm/filemap.c | 2 | ||||
-rw-r--r-- | mm/swapfile.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 29848de5d4b494..1b2596a123d5a5 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -127,7 +127,7 @@ static inline int sync_page(struct page *page) if (mapping->a_ops && mapping->a_ops->sync_page) return mapping->a_ops->sync_page(page); } else if (PageSwapCache(page)) { - swap_unplug_io_fn(NULL); + swap_unplug_io_fn(NULL, page); } return 0; } diff --git a/mm/swapfile.c b/mm/swapfile.c index dfcfc43d51ced7..512d2e887390b9 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -88,7 +88,7 @@ static void remove_swap_bdev(struct block_device *bdev) BUG(); } -void swap_unplug_io_fn(struct backing_dev_info *unused_bdi) +void swap_unplug_io_fn(struct backing_dev_info *unused_bdi, struct page *page) { int i; |