Backport #17671
Updated by Nathan Cutler over 7 years ago
https://github.com/ceph/ceph/pull/11948 The rbd CLI tool was completely refactored between the infernalis and jewel releases - see 1b9661e265bccc07534a6caa9dd7827f47034b70
In line 3463 of src/rbd.cc "opt_cmd == OPT_EXPORT" appears twice in the if conditions; the second time it should be "opt_cmd == OPT_EXPORT_DIFF".
This fix only applies to the pre-refactor codebase, i.e. hammer.
In line 3463 of src/rbd.cc "opt_cmd == OPT_EXPORT" appears twice in the if conditions; the second time it should be "opt_cmd == OPT_EXPORT_DIFF".
This fix only applies to the pre-refactor codebase, i.e. hammer.