]> git.ipfire.org Git - thirdparty/systemd.git/commit
storagetm: ensure device lock fd is opened for writing
authorMike Yuan <me@yhndnzj.com>
Sun, 25 Jan 2026 15:50:34 +0000 (16:50 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Jan 2026 01:56:22 +0000 (10:56 +0900)
commit28fb7e869c6be086fc7ab8ddbc8a4e00b53714b6
tree4cdcf7428b10dc684824f5b333a0167bd6a5d429
parent480003c5604cd96159ac6cc51d8a974dc529ca62
storagetm: ensure device lock fd is opened for writing

Follow-up for e582484789a6d889d11b97d9c2afa74c3c985130

_cleanup_close_ is dropped, as the fd would be immediately
consumed by the nvme_subsystem_add() call below anyways.
src/storagetm/storagetm.c