Skip to content
Commit d67d4be5 authored by Alex Elder's avatar Alex Elder Committed by Sage Weil
Browse files

rbd: pass null version pointer in add_snap()



rbd_header_add_snap() passes the address of a version variable to
rbd_req_sync_exec(), but it ignores the result.  Just pass a null
pointer instead.

Signed-off-by: default avatarAlex Elder <elder@inktank.com>
Reviewed-by: default avatarJosh Durgin <josh.durgin@inktank.com>
parent 57cfc106
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment