commit | 3a73dbbc9bb3fc8594cd67af4db6c563175dfddb | [log] [tgz] |
---|---|---|
author | Wu Fengguang <fengguang.wu@intel.com> | Mon Nov 07 19:19:28 2011 +0800 |
committer | Wu Fengguang <fengguang.wu@intel.com> | Mon Nov 07 19:19:28 2011 +0800 |
tree | e5120c19fd8e83a38d5c0852336a92c5b7862c6a | |
parent | 31555213f03bca37d2c02e10946296052f4ecfcd [diff] |
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: Witold Baryluk <baryluk@smp.if.uj.edu.pl> Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>