Drop 'size' argument from bio_endio and bi_end_io
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / swap.h
index 665f85f2a3afe61ee8be2ee49e29953b3b46bc4f..edf681a7fd8f95a66ff2fb020a199831090cda3f 100644 (file)
@@ -221,7 +221,7 @@ extern void swap_unplug_io_fn(struct backing_dev_info *, struct page *);
 /* linux/mm/page_io.c */
 extern int swap_readpage(struct file *, struct page *);
 extern int swap_writepage(struct page *page, struct writeback_control *wbc);
-extern int end_swap_bio_read(struct bio *bio, unsigned int bytes_done, int err);
+extern void end_swap_bio_read(struct bio *bio, int err);
 
 /* linux/mm/swap_state.c */
 extern struct address_space swapper_space;