diff options
author | Alex Elder <elder@inktank.com> | 2012-06-26 12:57:03 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-07-30 18:21:46 -0700 |
commit | 57cfc1060f35ac2345cb37ea474f9644ac5cfd75 (patch) | |
tree | 5a9d18fe47badf7002172cb2af6375d34e5159a6 /drivers/base/Kconfig | |
parent | 4e891e0af0f0011c90067373c46d7228568ec079 (diff) |
rbd: make rbd_create_rw_ops() return a pointer
Either rbd_create_rw_ops() will succeed, or it will fail because a
memory allocation failed. Have it just return a valid pointer or
null rather than stuffing a pointer into a provided address and
returning an errno.
Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'drivers/base/Kconfig')
0 files changed, 0 insertions, 0 deletions