summaryrefslogtreecommitdiffstats
path: root/doc/man/nvme_set_features_write_protect.2
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/nvme_set_features_write_protect.2')
-rw-r--r--doc/man/nvme_set_features_write_protect.26
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/man/nvme_set_features_write_protect.2 b/doc/man/nvme_set_features_write_protect.2
index aff3417..fbb0709 100644
--- a/doc/man/nvme_set_features_write_protect.2
+++ b/doc/man/nvme_set_features_write_protect.2
@@ -1,4 +1,4 @@
-.TH "nvme_set_features_write_protect" 9 "nvme_set_features_write_protect" "June 2023" "libnvme API manual" LINUX
+.TH "nvme_set_features_write_protect" 9 "nvme_set_features_write_protect" "December 2023" "libnvme API manual" LINUX
.SH NAME
nvme_set_features_write_protect \- Set write protect feature
.SH SYNOPSIS
@@ -16,6 +16,10 @@ Write Protection State
Save value across power states
.IP "result" 12
The command completion result from CQE dword0
+.SH "DESCRIPTION"
+
+Deprecated: doesn't support specifying a NSID.
+Use \fBnvme_set_features_write_protect2\fP instead.
.SH "RETURN"
The nvme command status if a response was received (see
\fIenum nvme_status_field\fP) or -1 with errno set otherwise.