]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit649498f13eb0b88057286c855b30884ab483d21a
treeac7657b6758a6d46db7b8e2423df074fcb70a1a9
parent9b751975b86c1e24eb93383a9f5f2e6ee2359515
rbd: split rbd_dev_spec_update() into two functions

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