[PATCH] tgtadm: restore the device-type option when creating a new logical unit

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

 



fixes a regression caused by 467c94f2ac99843e0cc8d75c1ab9e71dde68a6d1
"check for valid parameters when passing tgtadm commands".

Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
---
 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@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