summaryrefslogtreecommitdiffstats
path: root/lib/gcd.c
diff options
context:
space:
mode:
authorShaohua Li2012-01-19 09:20:09 +0100
committerJens Axboe2012-01-19 09:20:09 +0100
commitdf0793abb929e66606fa25f3875ff1b89de5ad32 (patch)
treefa53e6e4e7f4a6773f45173132bbfd77908f7c17 /lib/gcd.c
parentuml: fix compile for x86-64 (diff)
downloadkernel-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/gcd.c')
0 files changed, 0 insertions, 0 deletions