- Subject: [PATCH] print account info for iser in target show
- From: Alexander Nezhinsky <alexandern@xxxxxxxxxxxx>
- Date: Tue, 1 Feb 2011 18:51:12 +0200
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11
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
[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]