rbd: make snap_size order parameter optional
authorAlex Elder <elder@inktank.com>
Thu, 25 Apr 2013 20:09:41 +0000 (15:09 -0500)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:19:27 +0000 (21:19 -0700)
commitc86f86e9e75e77e4d51ded9edbad30834ff606f7
tree634fec004ec2977a9c12aeb8f8d89698a796282e
parent522a0cc0f0ecdb1857db7795b1c17591f28f9ca0
rbd: make snap_size order parameter optional

Only one of the two callers of _rbd_dev_v2_snap_size() needs the
order value returned.  So make that an optional argument--a null
pointer if the caller doesn't need it.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c