Skip to content

Commit

Permalink
Merge pull request #11948: hammer: rbd: export diff should open image…
Browse files Browse the repository at this point in the history
… as read-only

Reviewed-by: Nathan Cutler <ncutler@suse.com>
  • Loading branch information
smithfarm committed Nov 21, 2016
2 parents f9bee52 + ab0786d commit 9f1dec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rbd.cc
Expand Up @@ -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);
Expand Down

0 comments on commit 9f1dec9

Please sign in to comment.