Files
twx-linux/drivers
Ming Lei 31e45c09a8 ublk: fix error code for unsupported command
commit 34c1227035 upstream.

ENOTSUPP is for kernel use only, and shouldn't be sent to userspace.

Fix it by replacing it with EOPNOTSUPP.

Cc: stable@vger.kernel.org
Fixes: bfbcef0363 ("ublk_drv: move ublk_get_device_from_id into ublk_ctrl_uring_cmd")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20241119030646.2319030-1-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-12-05 14:03:01 +01:00
..
2024-12-05 14:02:13 +01:00
2024-12-05 14:01:26 +01:00
2024-12-05 14:02:56 +01:00
2024-12-05 14:02:51 +01:00