Whamcloud - gitweb
LU-5885 lfsck: deadlock when remove striped dir
[fs/lustre-release.git] / lustre / lfsck / lfsck_layout.c
index c9dfeba..b83bc87 100644 (file)
@@ -4773,8 +4773,8 @@ static int lfsck_layout_dump(const struct lu_env *env,
                __u64 checked = lo->ll_objs_checked_phase1 +
                                com->lc_new_checked;
                __u64 speed = checked;
-               __u64 new_checked = msecs_to_jiffies(com->lc_new_checked *
-                                                    MSEC_PER_SEC);
+               __u64 new_checked = com->lc_new_checked *
+                                   msecs_to_jiffies(MSEC_PER_SEC);
                __u32 rtime = lo->ll_run_time_phase1 +
                              cfs_duration_sec(duration + HALF_SEC);
 
@@ -4817,8 +4817,8 @@ static int lfsck_layout_dump(const struct lu_env *env,
                                com->lc_new_checked;
                __u64 speed1 = lo->ll_objs_checked_phase1;
                __u64 speed2 = checked;
-               __u64 new_checked = msecs_to_jiffies(com->lc_new_checked *
-                                                    MSEC_PER_SEC);
+               __u64 new_checked = com->lc_new_checked *
+                                   msecs_to_jiffies(MSEC_PER_SEC);
                __u32 rtime = lo->ll_run_time_phase2 +
                              cfs_duration_sec(duration + HALF_SEC);