rbd: split rbd_dev_spec_update() into two functions
authorIlya Dryomov <ilya.dryomov@inktank.com>
Wed, 23 Jul 2014 13:11:20 +0000 (17:11 +0400)
committerIlya Dryomov <ilya.dryomov@inktank.com>
Fri, 25 Jul 2014 09:15:35 +0000 (13:15 +0400)
rbd_dev_spec_update() has two modes of operation, with nothing in
common between them.  Split it into two functions, one for each mode
and make our expectations more clear.

Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
drivers/block/rbd.c

Simple merge