[stgt] [PATCH] missing "break" statement in tgt_device_create()

Alexander Nezhinsky alexandern at Voltaire.COM
Sun Jan 16 16:56:46 CET 2011


Adding a missing "break" statement due to a previous patch.
Thanx to: Ni-Feng Chang <zapchang at gmail.com> for noticing this.

Signed-off-by: Alexander Nezhinsky <alexandern at voltaire.com>
---
 usr/target.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/usr/target.c b/usr/target.c
index ebfeb7d..d96d93e 100644
--- a/usr/target.c
+++ b/usr/target.c
@@ -488,6 +488,7 @@ int tgt_device_create(int tid, int dev_type, uint64_t lun, char *params,
 			break;
 		case Opt_bsoflags:
 			bsoflags = match_strdup(&args[0]);
+			break;
 		case Opt_blocksize:
 			blocksize = match_strdup(&args[0]);
 			break;
--
1.7.3
--
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