From: YankunLi Date: Tue, 6 Sep 2016 08:16:58 +0000 (+0800) Subject: rbd: this command should be EXPORT_DIFF X-Git-Tag: v0.94.10~56^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ab0786d6a023e391e61119bd309985dcf6e05a4d;p=ceph.git rbd: this command should be EXPORT_DIFF Fixes: http://tracker.ceph.com/issues/17671 Signed-off-by: liyankun --- diff --git a/src/rbd.cc b/src/rbd.cc index 372c657cb6c..e9640644e6f 100644 --- a/src/rbd.cc +++ b/src/rbd.cc @@ -3048,7 +3048,7 @@ if (!set_conf_param(v, p1, p2, p3)) { \ opt_cmd == OPT_STATUS)) { if (opt_cmd == OPT_INFO || opt_cmd == OPT_SNAP_LIST || - opt_cmd == OPT_EXPORT || opt_cmd == OPT_EXPORT || opt_cmd == OPT_COPY || + opt_cmd == OPT_EXPORT || opt_cmd == OPT_EXPORT_DIFF || opt_cmd == OPT_COPY || opt_cmd == OPT_CHILDREN || opt_cmd == OPT_LOCK_LIST || opt_cmd == OPT_STATUS || opt_cmd == OPT_WATCH) { r = rbd.open_read_only(io_ctx, image, imgname, NULL);