aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_fstype.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/ops_fstype.c')
-rw-r--r--fs/gfs2/ops_fstype.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/gfs2/ops_fstype.c b/fs/gfs2/ops_fstype.c
index dd83e832235..5d137063b67 100644
--- a/fs/gfs2/ops_fstype.c
+++ b/fs/gfs2/ops_fstype.c
@@ -60,7 +60,6 @@ static void gfs2_tune_init(struct gfs2_tune *gt)
60 gt->gt_log_flush_secs = 60; 60 gt->gt_log_flush_secs = 60;
61 gt->gt_recoverd_secs = 60; 61 gt->gt_recoverd_secs = 60;
62 gt->gt_logd_secs = 1; 62 gt->gt_logd_secs = 1;
63 gt->gt_quotad_secs = 5;
64 gt->gt_quota_simul_sync = 64; 63 gt->gt_quota_simul_sync = 64;
65 gt->gt_quota_warn_period = 10; 64 gt->gt_quota_warn_period = 10;
66 gt->gt_quota_scale_num = 1; 65 gt->gt_quota_scale_num = 1;
@@ -107,6 +106,7 @@ static struct gfs2_sbd *init_sbd(struct super_block *sb)
107 INIT_LIST_HEAD(&sdp->sd_quota_list); 106 INIT_LIST_HEAD(&sdp->sd_quota_list);
108 spin_lock_init(&sdp->sd_quota_spin); 107 spin_lock_init(&sdp->sd_quota_spin);
109 mutex_init(&sdp->sd_quota_mutex); 108 mutex_init(&sdp->sd_quota_mutex);
109 init_waitqueue_head(&sdp->sd_quota_wait);
110 110
111 spin_lock_init(&sdp->sd_log_lock); 111 spin_lock_init(&sdp->sd_log_lock);
112 112
@@ -970,9 +970,6 @@ static int init_threads(struct gfs2_sbd *sdp, int undo)
970 } 970 }
971 sdp->sd_logd_process = p; 971 sdp->sd_logd_process = p;
972 972
973 sdp->sd_statfs_sync_time = jiffies;
974 sdp->sd_quota_sync_time = jiffies;
975
976 p = kthread_run(gfs2_quotad, sdp, "gfs2_quotad"); 973 p = kthread_run(gfs2_quotad, sdp, "gfs2_quotad");
977 error = IS_ERR(p); 974 error = IS_ERR(p);
978 if (error) { 975 if (error) {