diff options
author | Alex Elder <elder@dreamhost.com> | 2012-02-02 15:13:30 +0100 |
---|---|---|
committer | Alex Elder <elder@dreamhost.com> | 2012-03-22 16:47:48 +0100 |
commit | d720bcb0a8f246eb441ba9d4f341bc16746556c6 (patch) | |
tree | 9df53a7ff220547c7150be803c8a3e8cca0664b1 /arch/h8300 | |
parent | rbd: a few simple changes (diff) | |
download | linux-d720bcb0a8f246eb441ba9d4f341bc16746556c6.tar.xz linux-d720bcb0a8f246eb441ba9d4f341bc16746556c6.zip |
rbd: have rbd_get_client() return a rbd_client
Since rbd_get_client() currently returns an error code. It assigns
the rbd_client field of the rbd_device structure it is passed if
successful. Instead, have it return the created rbd_client
structure and return a pointer-coded error if there is an error.
This makes the assignment of the client pointer more obvious at the
call site.
Signed-off-by: Alex Elder <elder@dreamhost.com>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions