commit | 0407759971cdbd302e0efcb03ff9435a0d3db3ab | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <ilya.dryomov@inktank.com> | Wed Jul 23 17:11:20 2014 +0400 |
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | Fri Jul 25 13:15:35 2014 +0400 |
tree | ac7657b6758a6d46db7b8e2423df074fcb70a1a9 | |
parent | 7626eb7d82e4f1bd008e0a0bb534704d02a39832 [diff] |
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>