Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pybind/rados/rados: do not pass prval from stack
The prval is a pointer to an int to write the final completion code of the rados op. This can't be on the stack since we immediately leave the current scope after preparing the op (looong before we do the rados op). We keep the tuple return value to avoid breaking users of this API (devicehealth module, gnocchi at a minimum). Fixes: http://tracker.ceph.com/issues/25175 Signed-off-by: Sage Weil <sage@redhat.com> (cherry picked from commit 8e36f18)
- Loading branch information
Showing
1 changed file
with
6 additions
and
9 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