]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd: this command should be EXPORT_DIFF 11948/head
authorYankunLi <lioveni99@gmail.com>
Tue, 6 Sep 2016 08:16:58 +0000 (16:16 +0800)
committerNathan Cutler <ncutler@suse.com>
Wed, 16 Nov 2016 18:23:44 +0000 (19:23 +0100)
Fixes: http://tracker.ceph.com/issues/17671
Signed-off-by: liyankun <lioveni99@gmail.com>
src/rbd.cc

index 372c657cb6c524959ee44cd06daafef19fbbb605..e9640644e6ffbe80e5d4e56b7122c505760300f1 100644 (file)
@@ -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);