diff options
Diffstat (limited to 'fs/gfs2')
-rw-r--r-- | fs/gfs2/super.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c index 55898023782b..dd3e737f528e 100644 --- a/fs/gfs2/super.c +++ b/fs/gfs2/super.c | |||
@@ -159,18 +159,15 @@ int gfs2_check_sb(struct gfs2_sbd *sdp, struct gfs2_sb_host *sb, int silent) | |||
159 | } | 159 | } |
160 | 160 | ||
161 | 161 | ||
162 | static int end_bio_io_page(struct bio *bio, unsigned int bytes_done, int error) | 162 | static void end_bio_io_page(struct bio *bio, int error) |
163 | { | 163 | { |
164 | struct page *page = bio->bi_private; | 164 | struct page *page = bio->bi_private; |
165 | if (bio->bi_size) | ||
166 | return 1; | ||
167 | 165 | ||
168 | if (!error) | 166 | if (!error) |
169 | SetPageUptodate(page); | 167 | SetPageUptodate(page); |
170 | else | 168 | else |
171 | printk(KERN_WARNING "gfs2: error %d reading superblock\n", error); | 169 | printk(KERN_WARNING "gfs2: error %d reading superblock\n", error); |
172 | unlock_page(page); | 170 | unlock_page(page); |
173 | return 0; | ||
174 | } | 171 | } |
175 | 172 | ||
176 | static void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf) | 173 | static void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf) |