rbd: pass null version pointer in add_snap()
authorAlex Elder <elder@inktank.com>
Sat, 14 Jul 2012 01:35:11 +0000 (20:35 -0500)
committerSage Weil <sage@inktank.com>
Tue, 31 Jul 2012 01:21:46 +0000 (18:21 -0700)
commitd67d4be56a3ec8d07b1f29aab6095b363085b028
tree9765e2fd27836f111d12d3120963f1beb2318b53
parent57cfc1060f35ac2345cb37ea474f9644ac5cfd75
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: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c