diff options
| author | Jens Axboe <[email protected]> | 2025-03-19 20:36:33 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-03-19 20:51:36 +0000 |
| commit | 03c90afb21b45edb87533fa6f11c5f914d26298b (patch) | |
| tree | b34731e8a97947cbfd4322be785e73eee408a69f /net/unix/sysctl_net_unix.c | |
| parent | block: correct locking order for protecting blk-wbt parameters (diff) | |
| download | kernel-03c90afb21b45edb87533fa6f11c5f914d26298b.tar.gz kernel-03c90afb21b45edb87533fa6f11c5f914d26298b.zip | |
block/blk-iocost: ensure 'ret' is set on error
In case blkg_conf_open_bdev_frozen() fails, ioc_qos_write() jumps to the
error path without assigning a value to 'ret'. Ensure that it inherits
the error from the passed back error value.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 9730763f4756 ("block: correct locking order for protecting blk-wbt parameters")
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
