commit | 912c317d4600b81664ad8f3d3ba6c1f2ff4b49c2 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Mon May 13 20:35:38 2013 -0500 |
committer | Sage Weil <sage@inktank.com> | Mon Jul 01 09:52:02 2013 -0700 |
tree | b5424c4ef1bcce1219d6979e36669f2ba97d6d18 | |
parent | 4d1bf79aff7962ab0654d66127ebb6eec17460ab [diff] |
rbd: drop original request earlier for existence check The reference to the original request dropped at the end of rbd_img_obj_exists_callback() corresponds to the reference taken in rbd_img_obj_exists_submit() to account for the stat request referring to it. Move the put of that reference up right after clearing that pointer to make its purpose more obvious. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>