Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cls_rbd: change object_map_update to return 0 on success, add logging
The rbd_object_map_update class method returns the size of the data read from the object map when no update is necessary. Change this to return 0 on success. Add error logging to differentiate error cases. Signed-off-by: Douglas Fuller <dfuller@redhat.com>
- Loading branch information
Douglas Fuller
committed
Nov 6, 2015
1 parent
3eccde9
commit 26befe1
Showing
1 changed file
with
11 additions
and
1 deletion.
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