Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> --- usr/target.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/usr/target.c b/usr/target.c index c848757..4912c0f 100644 --- a/usr/target.c +++ b/usr/target.c @@ -480,7 +480,8 @@ int tgt_device_create(int tid, int dev_type, uint64_t lun, char *params, goto out; } } - } + } else + bst = get_backingstore_template("null"); t = device_type_lookup(dev_type); if (!t) { -- 1.5.6.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