diff options
author | Ming Lei <ming.lei@redhat.com> | 2018-02-23 23:36:57 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-02-24 15:55:54 -0700 |
commit | ba989a01469d027861e55c8f1121edadef757797 (patch) | |
tree | 3704e921581b501c25888f29addf4290ea7b3857 /fs/direct-io.c | |
parent | 105976f517791aed3b11f8f53b308a2069d42055 (diff) | |
download | lwn-ba989a01469d027861e55c8f1121edadef757797.tar.gz lwn-ba989a01469d027861e55c8f1121edadef757797.zip |
block: kyber: fix domain token leak during requeue
When requeuing request, the domain token should have been freed
before re-inserting the request to io scheduler. Otherwise, the
assigned domain token will be leaked, and IO hang can be caused.
Cc: Paolo Valente <paolo.valente@linaro.org>
Cc: Omar Sandoval <osandov@fb.com>
Cc: stable@vger.kernel.org
Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions