diff options
author | Alex Elder <elder@inktank.com> | 2012-10-25 23:34:41 -0500 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-10-30 08:34:29 -0500 |
commit | 0ddebc0c6c518ae42c376151e34d9d4b84443ba5 (patch) | |
tree | c1e410f8b491832d0151967cb403638bee44c45d /lib/jedec_ddr_data.c | |
parent | 78cea76e0580befaf561c6989f4fc985bc66c8f7 (diff) |
rbd: do all argument parsing in one place
This patch makes rbd_add_parse_args() be the single place all
argument parsing occurs for an image map request:
- Move the ceph_parse_options() call into that function
- Use local variables rather than parameters to hold the list
of monitor addresses supplied
- Rather than returning it, pass the snapshot name (and its
length) back via parameters
- Have the function return a ceph_options structure pointer
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