diff options
author | 2021-11-16 16:49:19 +0100 | |
---|---|---|
committer | 2021-11-23 17:19:25 +0100 | |
commit | 69b85e1f1d1d1e49601ec3e85d2031188657cca2 (patch) | |
tree | fffb552a8e158da389a38afc745de9402b525341 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | nvmet-tcp: fix a race condition between release_queue and io_work (diff) | |
download | wireguard-linux-69b85e1f1d1d1e49601ec3e85d2031188657cca2.tar.xz wireguard-linux-69b85e1f1d1d1e49601ec3e85d2031188657cca2.zip |
nvmet-tcp: add an helper to free the cmd buffers
Makes the code easier to read and to debug.
Sets the freed pointers to NULL, it will be useful
when destroying the queues to understand if the commands'
buffers have been released already or not.
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: John Meneghini <jmeneghi@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions