summaryrefslogtreecommitdiffstats
path: root/drivers/block/ida_ioctl.h
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-10-26 06:34:42 +0200
committerAlex Elder <elder@inktank.com>2012-11-01 13:55:42 +0100
commit859c31df9cee9d1e1308b3b024b61355e6a629a5 (patch)
treeb13ebb20599f029dedc24f8c4ff801004e43791d /drivers/block/ida_ioctl.h
parentrbd: add reference counting to rbd_spec (diff)
downloadlinux-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