[PATCH 2/5 RESEND] mgmt and concat_buf: define tgtadm_err, add error values to tgtadm_error.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using concat_buf api highlights some problems with tgtadm return codes,
this prepares a base for the fixes.

Signed-off-by: Alexander Nezhinsky <alexandern@xxxxxxxxxxxx>
---
 usr/tgtadm_error.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/usr/tgtadm_error.h b/usr/tgtadm_error.h
index 4cd8f81..a1f38b0 100644
--- a/usr/tgtadm_error.h
+++ b/usr/tgtadm_error.h
@@ -11,8 +11,10 @@ enum tgtadm_errno {
 	TGTADM_NO_LUN,
 	TGTADM_NO_SESSION,
 	TGTADM_NO_CONNECTION,
+	TGTADM_NO_BINDING,
 	TGTADM_TARGET_EXIST,
 	TGTADM_LUN_EXIST,
+	TGTADM_BINDING_EXIST,
 
 	TGTADM_ACL_EXIST,
 	TGTADM_ACL_NOEXIST,
@@ -28,4 +30,6 @@ enum tgtadm_errno {
 	TGTADM_UNKNOWN_PARAM,
 };
 
+typedef enum tgtadm_errno tgtadm_err;
+
 #endif
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux