summaryrefslogtreecommitdiffstats
path: root/lib/jedec_ddr_data.c
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2012-10-25 23:34:42 -0500
committerAlex Elder <elder@inktank.com>2012-11-01 07:55:42 -0500
commit859c31df9cee9d1e1308b3b024b61355e6a629a5 (patch)
treeb13ebb20599f029dedc24f8c4ff801004e43791d /lib/jedec_ddr_data.c
parent8b8fb99c5c93a0bdfe7b0c0c9fd2d41a3244555e (diff)
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 'lib/jedec_ddr_data.c')
0 files changed, 0 insertions, 0 deletions