Skip to content
Commit 3a73dbbc authored by Wu Fengguang's avatar Wu Fengguang
Browse files

writeback: fix uninitialized task_ratelimit



In balance_dirty_pages() task_ratelimit may be not initialized
(initialization skiped by goto pause), and then used when calling
tracing hook.

Fix it by moving the task_ratelimit assignment before goto pause.

Reported-by: default avatarWitold Baryluk <baryluk@smp.if.uj.edu.pl>
Signed-off-by: default avatarWu Fengguang <fengguang.wu@intel.com>
parent 31555213
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment