From 47e72024e091a55a5fcd31853e143c94d850b00a Mon Sep 17 00:00:00 2001 From: YankunLi Date: Mon, 5 Dec 2016 14:39:20 +0800 Subject: [PATCH] rbd: fix parameter check using import-diff command, the imagename must be specified. Signed-off-by: Yankun Li --- src/rbd.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/rbd.cc b/src/rbd.cc index e9640644e6f..3dbdcdb0d0f 100644 --- a/src/rbd.cc +++ b/src/rbd.cc @@ -2912,7 +2912,6 @@ if (!set_conf_param(v, p1, p2, p3)) { \ if (opt_cmd != OPT_LIST && opt_cmd != OPT_IMPORT && - opt_cmd != OPT_IMPORT_DIFF && opt_cmd != OPT_UNMAP && opt_cmd != OPT_SHOWMAPPED && opt_cmd != OPT_MERGE_DIFF && !imgname) { -- 2.47.3