[stgt] [PATCH 0/7] tgtadm_err return values

nezhinsky at gmail.com nezhinsky at gmail.com
Fri May 18 12:24:22 CEST 2012


From: Alexander Nezhinsky <alexandern at mellanox.com>

Improving tgtadm_err error processing and fixing some functions returning
tgtadm_err values but declared as returning int, or mixing error.h style values
with tgtadm_err.

Alexander Nezhinsky (7):
  move set_mtask_result() call to mtask_received()
  change return value of isns_show() and isns_update() to tgtadm_err
  change return value of some show functions in iscsi/target.c to
    tgtadm_err
  change return value of dtd_check_removable() to tgtadm_err, update
    use cases
  change return value of system_set_state() to tgtadm_err, update use
    cases
  change return value of slot_insert() to tgtadm_err and recover from
    errors properly in add_slt()
  change return value of iqn_acl_add() and iqn_acl_del() to tgtadm_err

 usr/iscsi/iscsid.h |    4 ++--
 usr/iscsi/isns.c   |   16 ++++++-------
 usr/iscsi/target.c |   66 ++++++++++++++++++++++++++++------------------------
 usr/mgmt.c         |   23 +++++++-----------
 usr/smc.c          |   28 +++++++++++++++++-----
 usr/target.c       |   25 ++++++++++----------
 usr/tgtd.h         |    8 +++----
 7 files changed, 92 insertions(+), 78 deletions(-)

-- 
1.7.9.6

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list