From: Alex Elder Date: Mon, 22 Oct 2012 16:31:27 +0000 (-0500) Subject: rbd: kill rbd_device->rbd_opts X-Git-Tag: v3.8-rc1~21^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=069a4b5690a952e74157fd489833c71c73f012b3;p=pandora-kernel.git 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 Reviewed-by: Josh Durgin Reviewed-by: Dan Mick --- Reading git-diff-tree failed