rbd: have rbd_parse_args() report found mon_addrs size
authorAlex Elder <elder@dreamhost.com>
Thu, 2 Feb 2012 14:13:30 +0000 (08:13 -0600)
committerAlex Elder <elder@dreamhost.com>
Thu, 22 Mar 2012 15:47:49 +0000 (10:47 -0500)
commit5214ecc45cf9b9f1365b189bcb63e441e3865334
tree68e7ca8cb6e3e1698e788d35dcbe16320bdbb3ea
parent81a897937827a81107861d50c77b4d04ff8b43a2
rbd: have rbd_parse_args() report found mon_addrs size

The argument parsing routine already computes the size of the
mon_addrs buffer it extracts from the "command."  Pass it to the
caller so it can use it to provide the length to rbd_get_client().

Signed-off-by: Alex Elder <elder@dreamhost.com>
drivers/block/rbd.c