]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "block: cover another queue enter recursion via BIO_QUEUE_ENTERED"
authorJens Axboe <axboe@kernel.dk>
Sun, 27 Jan 2019 13:35:28 +0000 (06:35 -0700)
committerJens Axboe <axboe@kernel.dk>
Sun, 27 Jan 2019 13:35:28 +0000 (06:35 -0700)
commit2a816fa6d479b58912f77b28bde2047e090f6ada
tree1b0d82a312636fdf683ef2eeab3b288df6f4f6fd
parentf0cfed67fff62db7d02cc3c140ab6efecdd014eb
Revert "block: cover another queue enter recursion via BIO_QUEUE_ENTERED"

We can't touch a bio after ->make_request_fn(), for all we know it could
already have been completed by the time this function returns.

This reverts commit 631ad611c24a3d654eb86040a79d179c02b318fd.

Reported-by: syzbot+4df6ca820108fd248943@syzkaller.appspotmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-merge.c