summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2013-04-18 09:49:38 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2013-04-23 17:19:17 +1000
commit57a3b9754df96454af11528ace4f82ef36d4d6c6 (patch)
tree6fc824fad72a8abf9137c61af2094611bc810098 /mm
parent20cc320eb83c43ab9d5315dbbb3594c423277eff (diff)
block-prep-work-for-batch-completion-fix-4
fix it for mm-allow-for-outstanding-swap-writeback-accounting.patch Cc: Kent Overstreet <koverstreet@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/page_io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mm/page_io.c b/mm/page_io.c
index c42e3b7e90b4..50bb6efa4976 100644
--- a/mm/page_io.c
+++ b/mm/page_io.c
@@ -204,7 +204,8 @@ out:
}
int __swap_writepage(struct page *page, struct writeback_control *wbc,
- void (*end_write_func)(struct bio *, int))
+ void (*end_write_func)(struct bio *bio, int err,
+ struct batch_complete *batch))
{
struct bio *bio;
int ret = 0, rw = WRITE;