summaryrefslogtreecommitdiffstats
path: root/net/ceph/osdmap.c
diff options
context:
space:
mode:
authorAlex Elder2012-10-22 18:31:27 +0200
committerAlex Elder2012-10-27 00:18:08 +0200
commit069a4b5690a952e74157fd489833c71c73f012b3 (patch)
tree11da2b9b40cd80d3b74e48a68284dff3e1268132 /net/ceph/osdmap.c
parentrbd: simplify rbd_merge_bvec() (diff)
downloadkernel-qcow2-linux-069a4b5690a952e74157fd489833c71c73f012b3.tar.gz
kernel-qcow2-linux-069a4b5690a952e74157fd489833c71c73f012b3.tar.xz
kernel-qcow2-linux-069a4b5690a952e74157fd489833c71c73f012b3.zip
rbd: kill rbd_device->rbd_opts
The rbd_device structure has an embedded rbd_options structure. Such a structure is needed to work with the generic ceph argument parsing code, but there's no need to keep it around once argument parsing is done. Use a local variable to hold the rbd options used in parsing in rbd_get_client(), and just transfer its content (it's just a read_only flag) into the field in the rbd_mapping sub-structure that requires that information. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com> Reviewed-by: Dan Mick <dan.mick@inktank.com>
Diffstat (limited to 'net/ceph/osdmap.c')
0 files changed, 0 insertions, 0 deletions