]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - block/blk-timeout.c
block: check for timeout function in blk_rq_timed_out()
authorHannes Reinecke <hare@suse.de>
Wed, 30 Jan 2013 09:26:17 +0000 (09:26 +0000)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 1 Jul 2013 15:31:23 +0000 (17:31 +0200)
commit80bd7181b036c7b4118eb19cfff3b555889596e6
tree455e4df7bef9ebc9cfbddb1a5936fa1f1cfeeee5
parentd1ffc1f8660e749a2683f19ee7cfdd837568b37a
block: check for timeout function in blk_rq_timed_out()

rq_timed_out_fn might have been unset while the request
was in flight, so we need to check for it in blk_rq_timed_out().

Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Stefan Weinhuber <wein@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
block/blk-timeout.c