block: brd/loop error-path cleanup - #158
blktests-ci-block-trial[bot] wants to merge 3 commits into
Conversation
|
Upstream branch: cee9395 |
45a2312 to
cf3d45b
Compare
|
Upstream branch: bf10795 |
e19ad97 to
3674948
Compare
cf3d45b to
258e7d0
Compare
|
Upstream branch: abdf623 |
3674948 to
31e05fb
Compare
258e7d0 to
76db21d
Compare
|
Upstream branch: 786262b |
31e05fb to
3de9608
Compare
76db21d to
e8377ca
Compare
|
Upstream branch: 89a3129 |
3de9608 to
a26a678
Compare
e8377ca to
1fff761
Compare
|
Upstream branch: 940de59 |
a26a678 to
f0fb4d1
Compare
1fff761 to
3595ceb
Compare
|
Upstream branch: 841e384 |
f0fb4d1 to
b605ea3
Compare
3595ceb to
4061e04
Compare
xa_init() runs before blk_alloc_disk(); on error the path called brd_free_device() without xa_destroy(), leaking the xarray state. Signed-off-by: Iván Ezequiel Rodriguez <ivanrwcm25@gmail.com>
On failure after loop_assign_backing_file(), restore the backing file GFP mask, clear lo_backing_file/lo_device, and re-enable uevents before unlocking and dropping the file reference. Signed-off-by: Iván Ezequiel Rodriguez <ivanrwcm25@gmail.com>
|
Upstream branch: a500db7 |
b605ea3 to
d5d906f
Compare
4061e04 to
2ecdc84
Compare
35db34c to
da618a0
Compare
107c7ec to
d965859
Compare
Pull request for series with
subject: block: brd/loop error-path cleanup
version: 1
url: http://redsun45:8000/project/linux-block/list/?series=770