]> 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)
commitf891666632e091e20721babd0eb74adc68fcd7be
tree1b0d82a312636fdf683ef2eeab3b288df6f4f6fd
parentb59fae52bf4051dfa2eac5a1e4ae7884c84d89d8
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 0af472d0305729e3786d3ee3c9affdfcea62d2a5.

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