diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-06-22 18:07:52 +0200 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2026-06-22 15:55:11 -0600 |
| commit | 214cdae69dba9bb1fc0b517b7fb97bab385a2e3a (patch) | |
| tree | 1f243cbaf75be6c72aa19d879954277e13232de1 /include/linux/timerqueue_types.h | |
| parent | d5b58fbb2fd7ac25fcd7e1c14730f998a90b0322 (diff) | |
block: fix incorrect error injection static key decrement
Only decrement the static key when we had items and thus it was
incremented before.
Fixes: e8dcf2d142bd ("block: add configurable error injection")
Reported-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20260622160752.1552516-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions
