diff options
author | Shaohua Li | 2012-01-19 09:20:09 +0100 |
---|---|---|
committer | Jens Axboe | 2012-01-19 09:20:09 +0100 |
commit | df0793abb929e66606fa25f3875ff1b89de5ad32 (patch) | |
tree | fa53e6e4e7f4a6773f45173132bbfd77908f7c17 /lib/kobject.c | |
parent | uml: fix compile for x86-64 (diff) | |
download | kernel-qcow2-linux-df0793abb929e66606fa25f3875ff1b89de5ad32.tar.gz kernel-qcow2-linux-df0793abb929e66606fa25f3875ff1b89de5ad32.tar.xz kernel-qcow2-linux-df0793abb929e66606fa25f3875ff1b89de5ad32.zip |
block,cfq: change code order
cfq_slice_expired will change saved_workload_slice. It should be called
first so saved_workload_slice is correctly set to 0 after workload type
is changed.
This fixes the code order changed by 54b466e44b1c7.
Tested-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions