]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0b85619156d031ddb1d7c2c949311d63e3f3e07b
tree68e7ca8cb6e3e1698e788d35dcbe16320bdbb3ea
parent929c33453989d981d9fe33ac9235431745235f23
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