-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rbd: move the detection of destination image ealier in rename op
Return earlier to avoid extra work of reading image data and omap if the detection fails or the destination image already exists. Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters