commit | 4c74d1f80381996027bacc4f6c554948ef9bf374 | [log] [tgz] |
---|---|---|
author | Kanchan Joshi <joshi.k@samsung.com> | Tue Apr 27 12:17:46 2021 +0530 |
committer | Christoph Hellwig <hch@lst.de> | Tue May 04 09:35:48 2021 +0200 |
tree | 5b54300b522e2cae1d173732a160d2f3d022f66f | |
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 <joshi.k@samsung.com> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>