diff options
| author | Zizhi Wo <wozizhi@huawei.com> | 2026-07-25 10:25:07 +0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-08-15 17:06:51 -0600 |
| commit | e3ef4b1b76d6721067259577ab5df54a173d9341 (patch) | |
| tree | 77534435e29a7e294b2f3ec6155cf88957d0c6a1 /tools/perf/scripts/python/bin | |
| parent | 1cdfe2fa62b48728a9b436fbbd3dbe4c11593e24 (diff) | |
null_blk: convert file-scope mutex users to guard(mutex)
Using guard()/scoped_guard() ties lock release to scope exit, removing the
need for manual mutex_unlock() calls and preventing missed unlocks on error
paths.
The per-attribute apply wrappers are left untouched, as those are reworked
separately by the configfs show/store serialization patches.
Signed-off-by: Zizhi Wo <wozizhi@huawei.com>
Link: https://patch.msgid.link/20260725022509.714271-9-wozizhi@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
