[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
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]

Add to Google Powered by Linux