aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy.c
diff options
context:
space:
mode:
authorMaurizio Lombardi <[email protected]>2021-11-16 16:49:19 +0100
committerChristoph Hellwig <[email protected]>2021-11-23 17:19:25 +0100
commit69b85e1f1d1d1e49601ec3e85d2031188657cca2 (patch)
treefffb552a8e158da389a38afc745de9402b525341 /lib/test_fortify/write_overflow-strncpy.c
parenta208fc56721775987c1b86e20d86d7e0d017c0b2 (diff)
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 <[email protected]> Reviewed-by: Keith Busch <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: John Meneghini <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions