[PATCH] print account info for iser in target show

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

 



Print account info for iser (not only for iscsi) in target show.

Signed-off-by: Alexander Nezhinsky <alexandern@xxxxxxxxxxxx>
---
 usr/target.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/usr/target.c b/usr/target.c
index d96d93e..82d8f70 100644
--- a/usr/target.c
+++ b/usr/target.c
@@ -1795,7 +1795,8 @@ int tgt_target_show_all(char *buf, int rest)
 				 lu->path ? : "None",
 				 open_flags_to_str(strflags, lu->bsoflags));
 
-		if (!strcmp(tgt_drivers[target->lid]->name, "iscsi")) {
+		if (!strcmp(tgt_drivers[target->lid]->name, "iscsi") ||
+		    !strcmp(tgt_drivers[target->lid]->name, "iser")) {
 			int i, aid;
 
 			shprintf(total, buf, rest, _TAB1
--
1.6.5.5
--
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