diff options
author | Kanchan Joshi <[email protected]> | 2021-04-27 12:17:46 +0530 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2021-05-04 09:35:48 +0200 |
commit | 4c74d1f80381996027bacc4f6c554948ef9bf374 (patch) | |
tree | 5b54300b522e2cae1d173732a160d2f3d022f66f /tools/perf/util/trace-event-scripting.c | |
parent | 48145b62563a9ae1ad631d6b576c6b9a798fcbec (diff) |
nvme: add nvme_get_ns helper
Add a helper to avoid opencoding ns->kref increment.
Decrement is already done via nvme_put_ns helper.
Signed-off-by: Kanchan Joshi <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions