summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMinchan Kim <minchan.kim@gmail.com>2009-06-17 00:33:02 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-17 04:47:44 +0200
commitaca8bf323edd31ad462dc98c107c23a5c6022ca2 (patch)
tree1466785c7ab056d6a9e21bb61fbd36ce3c3df5cc /include
parentmm: remove annotation of gfp_mask in add_to_swap (diff)
downloadlinux-aca8bf323edd31ad462dc98c107c23a5c6022ca2.tar.xz
linux-aca8bf323edd31ad462dc98c107c23a5c6022ca2.zip
mm: remove file argument from swap_readpage()
The file argument resulted from address_space's readpage long time ago. We don't use it any more. Let's remove unnecessary argement. Signed-off-by: Minchan Kim <minchan.kim@gmail.com> Acked-by: Hugh Dickins <hugh.dickins@tiscali.co.uk> Reviewed-by: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/swap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h
index fed5e8e1104b..0cedf31af0b0 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -256,7 +256,7 @@ extern void swap_unplug_io_fn(struct backing_dev_info *, struct page *);
#ifdef CONFIG_SWAP
/* linux/mm/page_io.c */
-extern int swap_readpage(struct file *, struct page *);
+extern int swap_readpage(struct page *);
extern int swap_writepage(struct page *page, struct writeback_control *wbc);
extern void end_swap_bio_read(struct bio *bio, int err);