aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/super.c')
-rw-r--r--fs/gfs2/super.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index f916b9740c75..dd3e737f528e 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -58,7 +58,6 @@ void gfs2_tune_init(struct gfs2_tune *gt)
58 gt->gt_incore_log_blocks = 1024; 58 gt->gt_incore_log_blocks = 1024;
59 gt->gt_log_flush_secs = 60; 59 gt->gt_log_flush_secs = 60;
60 gt->gt_jindex_refresh_secs = 60; 60 gt->gt_jindex_refresh_secs = 60;
61 gt->gt_scand_secs = 15;
62 gt->gt_recoverd_secs = 60; 61 gt->gt_recoverd_secs = 60;
63 gt->gt_logd_secs = 1; 62 gt->gt_logd_secs = 1;
64 gt->gt_quotad_secs = 5; 63 gt->gt_quotad_secs = 5;
@@ -160,18 +159,15 @@ int gfs2_check_sb(struct gfs2_sbd *sdp, struct gfs2_sb_host *sb, int silent)
160} 159}
161 160
162 161
163static int end_bio_io_page(struct bio *bio, unsigned int bytes_done, int error) 162static void end_bio_io_page(struct bio *bio, int error)
164{ 163{
165 struct page *page = bio->bi_private; 164 struct page *page = bio->bi_private;
166 if (bio->bi_size)
167 return 1;
168 165
169 if (!error) 166 if (!error)
170 SetPageUptodate(page); 167 SetPageUptodate(page);
171 else 168 else
172 printk(KERN_WARNING "gfs2: error %d reading superblock\n", error); 169 printk(KERN_WARNING "gfs2: error %d reading superblock\n", error);
173 unlock_page(page); 170 unlock_page(page);
174 return 0;
175} 171}
176 172
177static void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf) 173static void gfs2_sb_in(struct gfs2_sb_host *sb, const void *buf)