- Subject: [PATCH 2/5 RESEND] mgmt and concat_buf: define tgtadm_err, add error values to tgtadm_error.h
- From: Alexander Nezhinsky <alexandern@xxxxxxxxxxxx>
- Date: Wed, 1 Feb 2012 15:42:46 +0200
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110920 SUSE/3.1.15 Thunderbird/3.1.15 ThunderBrowse/3.8
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
[Linux SCSI]
[Linux RAID]
[Linux Clusters]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Free Online Dating]
[Linux Kernel]
[XFree86]
[Video Devices]