angler-fishThe Vulnerability History Project

[SCSI] iscsi: fixup set/get param functions

      Reduce duplication in the software iscsi_transport modules by
adding a libiscsi function to handle the common grunt work.

This also has the drivers return specifc -EXXX values for different
errors so userspace can finally handle them in a sane way.

Also just pass the sysfs buffers to the drivers so HW iscsi can
get/set its string values, like targetname, and initiatorname.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
    
commit a54a52caad4bd6166cb7fa64e4e93031fa2fda5d
+179
+44 -166
+13 -2
+10 -19
expand_less