File 0023-libnvme.map-add-nvme_ctrl_is_persistent.patch of Package libnvme.27116

From 2a04725b836eed9f5b47064932aaca81ba6a6c99 Mon Sep 17 00:00:00 2001
From: Martin George <marting@netapp.com>
Date: Thu, 27 Oct 2022 16:40:35 +0530
Subject: [PATCH] libnvme.map: add nvme_ctrl_is_persistent()

Add nvme_ctrl_is_persistent() to the global list for use in nvme-cli.

Signed-off-by: Martin George <marting@netapp.com>
---
 src/libnvme.map | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/libnvme.map b/src/libnvme.map
index 3384eca..fd910fc 100644
--- a/src/libnvme.map
+++ b/src/libnvme.map
@@ -1,3 +1,10 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+LIBNVME_1_0_1 {
+	global:
+		nvme_ctrl_is_persistent;
+};
+
 LIBNVME_1_0 {
 	global:
 		nvme_admin_passthru64;
-- 
2.38.0

openSUSE Build Service is sponsored by