[stgt] [PATCH] tgtadm: restore the device-type option when creating a new logical unit
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Wed Oct 22 03:40:16 CEST 2008
fixes a regression caused by 467c94f2ac99843e0cc8d75c1ab9e71dde68a6d1
"check for valid parameters when passing tgtadm commands".
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 fb7336e..f7b4fd3 100644
--- a/usr/tgtadm.c
+++ b/usr/tgtadm.c
@@ -637,7 +637,7 @@ int main(int argc, char **argv)
}
switch (op) {
case OP_NEW:
- rc = verify_mode_params(argc, argv, "LmotlbE");
+ rc = verify_mode_params(argc, argv, "LmotlbEY");
if (rc) {
eprintf("target mode: option '-%c' is not "
"allowed/supported\n", rc);
--
1.5.5.GIT
--
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