]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit41de90add8bd50f963006f80a5757c9c19b68bcd
tree9765e2fd27836f111d12d3120963f1beb2318b53
parent06fc32bc80bac69b0ad8cb6c46f40d056ae08026
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