diff options
| author | Sun Ke <[email protected]> | 2021-05-12 11:43:31 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2021-05-12 14:42:43 +0000 |
| commit | bedf78c4cbbbb65e42ede5ca2bd21887ef5b7060 (patch) | |
| tree | 684d227ab72a6f78014eb2c2415351dc82c9275f /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | nbd: Fix NULL pointer in flush_workqueue (diff) | |
| download | kernel-bedf78c4cbbbb65e42ede5ca2bd21887ef5b7060.tar.gz kernel-bedf78c4cbbbb65e42ede5ca2bd21887ef5b7060.zip | |
nbd: share nbd_put and return by goto put_nbd
Replace the following two statements by the statement “goto put_nbd;”
nbd_put(nbd);
return 0;
Signed-off-by: Sun Ke <[email protected]>
Suggested-by: Markus Elfring <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
