diff options
| author | Alex Elder <elder@inktank.com> | 2012-08-10 13:12:07 -0700 |
|---|---|---|
| committer | Alex Elder <elder@inktank.com> | 2012-10-01 14:30:50 -0500 |
| commit | f8c3892911145db7cf895cc26f53ad73dd4e7b1f (patch) | |
| tree | 5d1b7836d87fa1ce7b1ba9a5d67c70170797d832 /kernel/trace/trace_functions.c | |
| parent | 621901d652db10ad8ceddd25dd4b883978a873e1 (diff) | |
rbd: move rbd_opts to struct rbd_device
The rbd options don't really apply to the ceph client. So don't
store a pointer to it in the ceph_client structure, and put them
(a struct, not a pointer) into the rbd_dev structure proper.
Pass the rbd device structure to rbd_client_create() so it can
assign rbd_dev->rbdc if successful, and have it return an error code
instead of the rbd client pointer.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
Diffstat (limited to 'kernel/trace/trace_functions.c')
0 files changed, 0 insertions, 0 deletions
