X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=block%2Fblk-throttle.c;fp=block%2Fblk-throttle.c;h=3b751f706c6180c490cfd38a44f49621a5780021;hb=a41b816c174409417d91b4ceef0145c9f0bef67c;hp=fc13dd0c6e3956a84913d9e71132c0f321a67280;hpb=9bd2bbc01d17ddd567cc0f81f77fe1163e497462;p=mirror_ubuntu-bionic-kernel.git diff --git a/block/blk-throttle.c b/block/blk-throttle.c index fc13dd0c6e39..3b751f706c61 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -698,7 +698,7 @@ static void throtl_dequeue_tg(struct throtl_grp *tg) static void throtl_schedule_pending_timer(struct throtl_service_queue *sq, unsigned long expires) { - unsigned long max_expire = jiffies + 8 * sq_to_tg(sq)->td->throtl_slice; + unsigned long max_expire = jiffies + 8 * sq_to_td(sq)->throtl_slice; /* * Since we are adjusting the throttle limit dynamically, the sleep