|
@@ -346,7 +346,6 @@ int ocfs2_global_read_info(struct super_block *sb, int type)
|
|
|
info->dqi_bgrace = le32_to_cpu(dinfo.dqi_bgrace);
|
|
|
info->dqi_igrace = le32_to_cpu(dinfo.dqi_igrace);
|
|
|
oinfo->dqi_syncms = le32_to_cpu(dinfo.dqi_syncms);
|
|
|
- oinfo->dqi_syncjiff = msecs_to_jiffies(oinfo->dqi_syncms);
|
|
|
oinfo->dqi_gi.dqi_blocks = le32_to_cpu(dinfo.dqi_blocks);
|
|
|
oinfo->dqi_gi.dqi_free_blk = le32_to_cpu(dinfo.dqi_free_blk);
|
|
|
oinfo->dqi_gi.dqi_free_entry = le32_to_cpu(dinfo.dqi_free_entry);
|
|
@@ -356,7 +355,7 @@ int ocfs2_global_read_info(struct super_block *sb, int type)
|
|
|
oinfo->dqi_gi.dqi_qtree_depth = qtree_depth(&oinfo->dqi_gi);
|
|
|
INIT_DELAYED_WORK(&oinfo->dqi_sync_work, qsync_work_fn);
|
|
|
queue_delayed_work(ocfs2_quota_wq, &oinfo->dqi_sync_work,
|
|
|
- oinfo->dqi_syncjiff);
|
|
|
+ msecs_to_jiffies(oinfo->dqi_syncms));
|
|
|
|
|
|
out_err:
|
|
|
mlog_exit(status);
|
|
@@ -611,7 +610,7 @@ static void qsync_work_fn(struct work_struct *work)
|
|
|
|
|
|
dquot_scan_active(sb, ocfs2_sync_dquot_helper, oinfo->dqi_type);
|
|
|
queue_delayed_work(ocfs2_quota_wq, &oinfo->dqi_sync_work,
|
|
|
- oinfo->dqi_syncjiff);
|
|
|
+ msecs_to_jiffies(oinfo->dqi_syncms));
|
|
|
}
|
|
|
|
|
|
/*
|