Unverified Commit fe66df0f authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!11430 Revert "mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again"

parents 674ed576 3944b23e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1541,7 +1541,7 @@ static inline void wb_dirty_limits(struct dirty_throttle_control *dtc)
	 */
	dtc->wb_thresh = __wb_calc_thresh(dtc);
	dtc->wb_bg_thresh = dtc->thresh ?
		div64_u64(dtc->wb_thresh * dtc->bg_thresh, dtc->thresh) : 0;
		div_u64((u64)dtc->wb_thresh * dtc->bg_thresh, dtc->thresh) : 0;

	/*
	 * In order to avoid the stacked BDI deadlock we need