diff options
author | 2025-03-28 09:46:46 -0600 | |
---|---|---|
committer | 2025-04-01 09:01:05 -0700 | |
commit | cd683de63e1d7ce3c2bb9c285f7885e96c98af15 (patch) | |
tree | 8062649632416dbaa77210e4da7ab132e6d41072 /net/lapb/lapb_timer.c | |
parent | nvme/ioctl: don't warn on vectorized uring_cmd with fixed buffer (diff) | |
download | wireguard-linux-cd683de63e1d7ce3c2bb9c285f7885e96c98af15.tar.xz wireguard-linux-cd683de63e1d7ce3c2bb9c285f7885e96c98af15.zip |
nvme/ioctl: move blk_mq_free_request() out of nvme_map_user_request()
The callers of nvme_map_user_request() (nvme_submit_user_cmd() and
nvme_uring_cmd_io()) allocate the request, so have them free it if
nvme_map_user_request() fails.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions