diff options
author | Alex Elder <elder@inktank.com> | 2012-10-26 06:34:42 +0200 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-11-01 13:55:42 +0100 |
commit | 859c31df9cee9d1e1308b3b024b61355e6a629a5 (patch) | |
tree | b13ebb20599f029dedc24f8c4ff801004e43791d /drivers/block/ida_ioctl.h | |
parent | rbd: add reference counting to rbd_spec (diff) | |
download | linux-859c31df9cee9d1e1308b3b024b61355e6a629a5.tar.xz linux-859c31df9cee9d1e1308b3b024b61355e6a629a5.zip |
rbd: fill rbd_spec in rbd_add_parse_args()
Pass the address of an rbd_spec structure to rbd_add_parse_args().
Use it to hold the information defining the rbd image to be mapped
in an rbd_add() call.
Use the result in the caller to initialize the rbd_dev->id field.
This means rbd_dev is no longer needed in rbd_add_parse_args(),
so get rid of it.
Now that this transformation of rbd_add_parse_args() is complete,
correct and expand on the its header documentation to reflect the
new reality.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/block/ida_ioctl.h')
0 files changed, 0 insertions, 0 deletions