Ming Lei 34c1227035 ublk: fix error code for unsupported command
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: bfbcef036396 ("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>
2024-11-19 09:19:46 -07:00
..
2024-10-11 11:32:10 -07:00
2024-10-11 11:26:15 -07:00
2024-09-27 08:48:37 -07:00
2024-10-07 11:33:26 -07:00
2024-09-17 15:27:01 +02:00
2024-09-18 10:49:45 +02:00
2024-09-19 10:18:15 +02:00
2024-10-15 20:39:43 +00:00
2024-10-18 13:53:41 +10:00
2024-10-13 16:35:20 -07:00
2024-09-19 10:18:15 +02:00
2024-10-05 10:31:04 -07:00
2024-10-19 10:18:03 -07:00
2024-09-29 09:22:34 -07:00
2024-10-20 13:10:44 -07:00
2024-09-26 08:43:17 -07:00
2024-09-23 14:05:10 -07:00
2024-10-06 11:11:01 -07:00
2024-09-26 12:00:25 -07:00
2024-11-09 20:06:58 -07:00
2024-10-11 10:03:13 +00:00
2024-09-23 14:00:46 -07:00
2024-10-05 10:25:04 -07:00
2024-10-19 12:52:19 -07:00
2024-09-09 12:22:06 +02:00
2024-10-19 12:52:19 -07:00
2024-09-11 16:02:54 +02:00
2024-10-18 12:11:28 +02:00
2024-10-07 11:33:26 -07:00
2024-10-07 11:33:26 -07:00
2024-10-07 11:33:26 -07:00