diff options
| author | 2026-09-29 11:34:05 +0200 | |
|---|---|---|
| committer | 2026-09-29 05:46:56 -0600 | |
| commit | 7ac697d4a08f01e7aefdeb1f3e1d6f71b2cdac0d (patch) | |
| tree | 6f5709796dedec8c6a89d1ed8c57c024163e5866 /scripts/Makefile.thinlto | |
| parent | rust: block: Fix GenDiskBuilder block size documentation (diff) | |
rnull: fix geometry store check-then-act across lock scopes
The blocksize/rotational/capacity/irqmode stores check powered under one
Mutex acquisition, drop the guard, then update under a second acquisition.
A concurrent power-on can create the live disk from stale geometry in
between, leaving powered==true with config != live disk.
Hold one guard for the powered check and the field update.
Signed-off-by: Qingxiao Xu <qingxiao@tamu.edu>
Link: https://msgid.link/20260908200845.405112-1-qingxiao@tamu.edu
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
Link: https://patch.msgid.link/20260929-rust-block-for-v7-4-rc1-b4-v1-7-642a4c1aebd7@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
