public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tomas Bzatek <tbzatek@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/libnvme] rawhide: * Mon Aug 03 2026 Tomas Bzatek <tbzatek@redhat.com> - 1.16.2-1
Date: Mon, 03 Aug 2026 17:02:21 GMT	[thread overview]
Message-ID: <178577654130.1.14042938211120324338.rpms-libnvme-e6900dd22716@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/libnvme
            Branch : rawhide
            Commit : e6900dd22716d47e82c07f8ba959a749cd88ca24
            Author : Tomas Bzatek <tbzatek@redhat.com>
            Date   : 2026-08-03T19:01:49+02:00
            Stats  : +50/-5 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/libnvme/c/e6900dd22716d47e82c07f8ba959a749cd88ca24?branch=rawhide

            Log:
            * Mon Aug 03 2026 Tomas Bzatek <tbzatek@redhat.com> - 1.16.2-1
- Upstream v1.16.2 release

---
diff --git a/.gitignore b/.gitignore
index e9ce421..b3639d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,4 @@
 /libnvme-1.14.tar.gz
 /libnvme-1.15.tar.gz
 /libnvme-1.16.1.tar.gz
+/libnvme-1.16.2.tar.gz

diff --git a/0001-tree-cleanup-paths-when-freeing-namespace.patch b/0001-tree-cleanup-paths-when-freeing-namespace.patch
new file mode 100644
index 0000000..f875443
--- /dev/null
+++ b/0001-tree-cleanup-paths-when-freeing-namespace.patch
@@ -0,0 +1,40 @@
+diff --git a/src/nvme/tree.c b/src/nvme/tree.c
+index bc83648..98822d0 100644
+--- a/src/nvme/tree.c
++++ b/src/nvme/tree.c
+@@ -632,11 +632,18 @@ nvme_path_t nvme_namespace_next_path(nvme_ns_t ns, nvme_path_t p)
+ 
+ static void __nvme_free_ns(struct nvme_ns *n)
+ {
++	struct nvme_path *p, *_p;
++
+ 	list_del_init(&n->entry);
+ 	nvme_ns_release_fd(n);
+ 	free(n->generic_name);
+ 	free(n->name);
+ 	free(n->sysfs_dir);
++	nvme_namespace_for_each_path_safe(n, p, _p) {
++		list_del_init(&p->nentry);
++		p->n = NULL;
++	}
++	list_head_init(&n->head->paths);
+ 	free(n->head->sysfs_dir);
+ 	free(n->head);
+ 	free(n);
+@@ -3033,16 +3040,8 @@ static int nvme_subsystem_scan_namespace(nvme_root_t r, nvme_subsystem_t s,
+ 		return -1;
+ 	}
+ 	nvme_subsystem_for_each_ns_safe(s, _n, __n) {
+-		struct nvme_path *p, *_p;
+-
+ 		if (strcmp(n->name, _n->name))
+ 			continue;
+-		/* Detach paths */
+-		nvme_namespace_for_each_path_safe(_n, p, _p) {
+-			list_del_init(&p->nentry);
+-			p->n = NULL;
+-		}
+-		list_head_init(&_n->head->paths);
+ 		__nvme_free_ns(_n);
+ 	}
+ 	n->s = s;

diff --git a/libnvme.spec b/libnvme.spec
index 119fa6a..598082a 100644
--- a/libnvme.spec
+++ b/libnvme.spec
@@ -3,11 +3,12 @@
 
 Name:    libnvme
 Summary: Linux-native nvme device management library
-Version: 1.16.1
-Release: 6%{?dist}
+Version: 1.16.2
+Release: 1%{?dist}
 License: LGPL-2.1-or-later
 URL:     https://github.com/linux-nvme/libnvme
 Source0: %{url}/archive/v%{version_no_tilde}/%{name}-%{version_no_tilde}.tar.gz
+Patch0:  0001-tree-cleanup-paths-when-freeing-namespace.patch
 
 BuildRequires: gcc gcc-c++
 BuildRequires: swig
@@ -76,9 +77,9 @@ rm -r %{buildroot}%{_pkgdocdir}/html/{.buildinfo,.doctrees/}
 %files
 %license COPYING ccan/licenses/*
 %{_libdir}/libnvme.so.1
-%{_libdir}/libnvme.so.1.16.1
+%{_libdir}/libnvme.so.1.16.2
 %{_libdir}/libnvme-mi.so.1
-%{_libdir}/libnvme-mi.so.1.16.1
+%{_libdir}/libnvme-mi.so.1.16.2
 
 %files devel
 %{_libdir}/libnvme.so
@@ -98,6 +99,9 @@ rm -r %{buildroot}%{_pkgdocdir}/html/{.buildinfo,.doctrees/}
 %{python3_sitearch}/libnvme/*
 
 %changelog
+* Mon Aug 03 2026 Tomas Bzatek <tbzatek@redhat.com> - 1.16.2-1
+- Upstream v1.16.2 release
+
 * Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 1.16.1-6
 - Rebuilt for Python 3.15.0b4 ABI change
 

diff --git a/sources b/sources
index c239484..3a97390 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libnvme-1.16.1.tar.gz) = 92113cd62af53366fb63f2f385c2059dede171fef4d9a240fa941382e338d2941e90aeb40ae2d202311d7b531e41181839f45f8ab4da1b3a79ce4b597fcd4993
+SHA512 (libnvme-1.16.2.tar.gz) = e3a4b6d4906e7dc5f894042adc6490bc7e71bf096d39f216c8c742bc5c527a701a87cb3ee8eea305fa557d1b312513c3394f7d6030000e320a2d668c53215fb5

                 reply	other threads:[~2026-08-03 17:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178577654130.1.14042938211120324338.rpms-libnvme-e6900dd22716@fedoraproject.org \
    --to=tbzatek@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox