diff options
| author | Caleb Sander Mateos <[email protected]> | 2025-03-28 15:46:46 +0000 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2025-04-01 16:01:05 +0000 |
| commit | cd683de63e1d7ce3c2bb9c285f7885e96c98af15 (patch) | |
| tree | 8062649632416dbaa77210e4da7ab132e6d41072 /tools/lib/bpf/bpf_helpers.h | |
| parent | nvme/ioctl: don't warn on vectorized uring_cmd with fixed buffer (diff) | |
| download | kernel-cd683de63e1d7ce3c2bb9c285f7885e96c98af15.tar.gz kernel-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 <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions
