1
0
Fork 0

Merging upstream version 1.6.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-16 10:12:19 +01:00
parent adbb3a10cc
commit 6add9877e4
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
871 changed files with 8481 additions and 1502 deletions

16
doc/man/nvme_set_root.2 Normal file
View file

@ -0,0 +1,16 @@
.TH "nvme_set_root" 9 "nvme_set_root" "September 2023" "libnvme API manual" LINUX
.SH NAME
nvme_set_root \- Set nvme_root_t context
.SH SYNOPSIS
.B "void" nvme_set_root
.BI "(nvme_root_t r " ");"
.SH ARGUMENTS
.IP "r" 12
nvme_root_t context
.SH "DESCRIPTION"
In order to be able to log from code paths where no root object is passed in
via the arguments use the the default one which can be set via this call.
When creating a new root object with \fInvme_create_root\fP the global root object
will be set as well. This means the global root object is always pointing to
the latest created root object. Note the first \fInvme_free_tree\fP call will reset
the global root object.