[stgt] [PATCH] tgtadm: bind/unbind opeartions need to '--host' option

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Wed Feb 3 12:06:48 CET 2010


From: Tomasz Rydzynski <qsorix at rydznet.pl>

Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
---
 usr/tgtadm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/usr/tgtadm.c b/usr/tgtadm.c
index 21e709a..dd46985 100644
--- a/usr/tgtadm.c
+++ b/usr/tgtadm.c
@@ -573,7 +573,7 @@ int main(int argc, char **argv)
 			break;
 		case OP_BIND:
 		case OP_UNBIND:
-			rc = verify_mode_params(argc, argv, "LmotIB");
+			rc = verify_mode_params(argc, argv, "LmotIBH");
 			if (rc) {
 				eprintf("target mode: option '-%c' is not "
 					  "allowed/supported\n", rc);
-- 
1.5.6.5

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