diff options
author | Alex Elder <elder@inktank.com> | 2012-10-26 06:34:42 +0200 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-11-01 13:55:42 +0100 |
commit | 9d3997fdf4c82adfb37a4886a21eaa513ee071b6 (patch) | |
tree | 99f40b6a590525dcce9520ca07a622f725f007ed /mm/slub.c | |
parent | rbd: fill rbd_spec in rbd_add_parse_args() (diff) | |
download | linux-9d3997fdf4c82adfb37a4886a21eaa513ee071b6.tar.xz linux-9d3997fdf4c82adfb37a4886a21eaa513ee071b6.zip |
rbd: don't pass rbd_dev to rbd_get_client()
The only reason rbd_dev is passed to rbd_get_client() is so its
rbd_client field can get assigned. Instead, just return the
rbd_client pointer as a result and have the caller do the
assignment.
Change rbd_put_client() so it takes an rbd_client structure,
so follows the more typical symmetry with rbd_get_client().
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions