Commit 782e3b3b authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

Fix up more bio fallout

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent cbd09dbb
...@@ -169,7 +169,6 @@ static void end_bio_io_page(struct bio *bio, int error) ...@@ -169,7 +169,6 @@ static void end_bio_io_page(struct bio *bio, int error)
else else
printk(KERN_WARNING "gfs2: error %d reading superblock\n", error); printk(KERN_WARNING "gfs2: error %d reading superblock\n", error);
unlock_page(page); unlock_page(page);
return 0;
} }
static void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf) static void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf)
......
...@@ -291,8 +291,6 @@ static void metapage_read_end_io(struct bio *bio, int err) ...@@ -291,8 +291,6 @@ static void metapage_read_end_io(struct bio *bio, int err)
dec_io(page, last_read_complete); dec_io(page, last_read_complete);
bio_put(bio); bio_put(bio);
return 0;
} }
static void remove_from_logsync(struct metapage *mp) static void remove_from_logsync(struct metapage *mp)
...@@ -349,7 +347,6 @@ static void metapage_write_end_io(struct bio *bio, int err) ...@@ -349,7 +347,6 @@ static void metapage_write_end_io(struct bio *bio, int err)
} }
dec_io(page, last_write_complete); dec_io(page, last_write_complete);
bio_put(bio); bio_put(bio);
return 0;
} }
static int metapage_writepage(struct page *page, struct writeback_control *wbc) static int metapage_writepage(struct page *page, struct writeback_control *wbc)
......
...@@ -216,7 +216,7 @@ static void o2hb_wait_on_io(struct o2hb_region *reg, ...@@ -216,7 +216,7 @@ static void o2hb_wait_on_io(struct o2hb_region *reg,
wait_for_completion(&wc->wc_io_complete); wait_for_completion(&wc->wc_io_complete);
} }
static int o2hb_bio_end_io(struct bio *bio, static void o2hb_bio_end_io(struct bio *bio,
int error) int error)
{ {
struct o2hb_bio_wait_ctxt *wc = bio->bi_private; struct o2hb_bio_wait_ctxt *wc = bio->bi_private;
...@@ -228,7 +228,6 @@ static int o2hb_bio_end_io(struct bio *bio, ...@@ -228,7 +228,6 @@ static int o2hb_bio_end_io(struct bio *bio,
o2hb_bio_wait_dec(wc, 1); o2hb_bio_wait_dec(wc, 1);
bio_put(bio); bio_put(bio);
return 0;
} }
/* Setup a Bio to cover I/O against num_slots slots starting at /* Setup a Bio to cover I/O against num_slots slots starting at
......
...@@ -323,7 +323,7 @@ xfs_iomap_valid( ...@@ -323,7 +323,7 @@ xfs_iomap_valid(
/* /*
* BIO completion handler for buffered IO. * BIO completion handler for buffered IO.
*/ */
STATIC int STATIC void
xfs_end_bio( xfs_end_bio(
struct bio *bio, struct bio *bio,
int error) int error)
...@@ -339,7 +339,6 @@ xfs_end_bio( ...@@ -339,7 +339,6 @@ xfs_end_bio(
bio_put(bio); bio_put(bio);
xfs_finish_ioend(ioend, 0); xfs_finish_ioend(ioend, 0);
return 0;
} }
STATIC void STATIC void
......
...@@ -1103,7 +1103,7 @@ _xfs_buf_ioend( ...@@ -1103,7 +1103,7 @@ _xfs_buf_ioend(
} }
} }
STATIC int STATIC void
xfs_buf_bio_end_io( xfs_buf_bio_end_io(
struct bio *bio, struct bio *bio,
int error) int error)
...@@ -1139,7 +1139,6 @@ xfs_buf_bio_end_io( ...@@ -1139,7 +1139,6 @@ xfs_buf_bio_end_io(
_xfs_buf_ioend(bp, 1); _xfs_buf_ioend(bp, 1);
bio_put(bio); bio_put(bio);
return 0;
} }
STATIC void STATIC void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment