Alex Elder d720bcb0a8 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>
2012-03-22 10:47:48 -05:00
..
2012-01-03 22:54:07 -05:00
2012-01-03 22:54:07 -05:00
2012-01-14 15:07:24 -08:00
2011-08-08 11:40:15 +02:00
2005-04-16 15:20:36 -07:00
2012-03-05 15:49:43 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2011-12-12 12:42:12 +01:00
2009-03-26 21:15:27 +01:00
2011-12-10 19:52:46 +01:00
2012-01-14 15:07:24 -08:00
2011-03-31 11:26:23 -03:00
2008-10-21 07:48:11 -04:00
2012-01-05 08:34:29 +01:00