diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2011-11-07 19:19:28 +0800 |
---|---|---|
committer | Wu Fengguang <fengguang.wu@intel.com> | 2011-11-07 19:19:28 +0800 |
commit | 3a73dbbc9bb3fc8594cd67af4db6c563175dfddb (patch) | |
tree | e5120c19fd8e83a38d5c0852336a92c5b7862c6a /kernel/freezer.c | |
parent | 31555213f03bca37d2c02e10946296052f4ecfcd (diff) | |
download | op-kernel-dev-3a73dbbc9bb3fc8594cd67af4db6c563175dfddb.zip op-kernel-dev-3a73dbbc9bb3fc8594cd67af4db6c563175dfddb.tar.gz |
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>
Diffstat (limited to 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions