summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2009-02-18 10:30:15 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-02-18 10:34:16 +0100
commitbe987fdb55a4726e2fcbab7501f89276bdb57288 (patch)
treebc92a402a4d710718883e67eeab6e0ced221e7ff /fs
parent41b8c853a495438208faa5be03bbb0050859163b (diff)
downloadlinux-be987fdb55a4726e2fcbab7501f89276bdb57288.tar.gz
linux-be987fdb55a4726e2fcbab7501f89276bdb57288.tar.bz2
linux-be987fdb55a4726e2fcbab7501f89276bdb57288.zip
block: fix deadlock in blk_abort_queue() for drivers that readd to timeout list
blk_abort_queue() iterates the timeout list and aborts each request on the list, but if the driver error handling readds a request to the timeout list during this processing, we could be looping forever. Fix this by splicing current entries to a local list and run over that list instead. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions