Skip to content

block: brd/loop error-path cleanup - #158

Open
blktests-ci-block-trial[bot] wants to merge 3 commits into
master_basefrom
series/770=>master
Open

blktests-ci-block-trial[bot] wants to merge 3 commits into
master_basefrom
series/770=>master

Conversation

@blktests-ci-block-trial

Copy link
Copy Markdown

Pull request for series with
subject: block: brd/loop error-path cleanup
version: 1
url: http://redsun45:8000/project/linux-block/list/?series=770

@blktests-ci-block-trial

Copy link
Copy Markdown
Author

Upstream branch: cee9395
series: http://redsun45:8000/project/linux-block/list/?series=770
version: 1

@blktests-ci-block-trial

Copy link
Copy Markdown
Author

Upstream branch: bf10795
series: http://redsun45:8000/project/linux-block/list/?series=770
version: 1

@blktests-ci-block-trial

Copy link
Copy Markdown
Author

Upstream branch: abdf623
series: http://redsun45:8000/project/linux-block/list/?series=770
version: 1

@blktests-ci-block-trial

Copy link
Copy Markdown
Author

Upstream branch: 786262b
series: http://redsun45:8000/project/linux-block/list/?series=770
version: 1

@blktests-ci-block-trial

Copy link
Copy Markdown
Author

Upstream branch: 89a3129
series: http://redsun45:8000/project/linux-block/list/?series=770
version: 1

@blktests-ci-block-trial

Copy link
Copy Markdown
Author

Upstream branch: 940de59
series: http://redsun45:8000/project/linux-block/list/?series=770
version: 1

@blktests-ci-block-trial

Copy link
Copy Markdown
Author

Upstream branch: 841e384
series: http://redsun45:8000/project/linux-block/list/?series=770
version: 1

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>
@blktests-ci-block-trial

Copy link
Copy Markdown
Author

Upstream branch: a500db7
series: http://redsun45:8000/project/linux-block/list/?series=770
version: 1

@blktests-ci-block-trial
blktests-ci-block-trial Bot force-pushed the master_base branch 10 times, most recently from 35db34c to da618a0 Compare September 18, 2026 23:12
@blktests-ci-block-trial
blktests-ci-block-trial Bot force-pushed the master_base branch 4 times, most recently from 107c7ec to d965859 Compare September 20, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants