• Alex Elder's avatar
    rbd: make rbd_create_rw_ops() return a pointer · 57cfc106
    Alex Elder authored
    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: default avatarAlex Elder <elder@inktank.com>
    Reviewed-by: Josh Durgin <josh.durgin@inktank.com> 
    57cfc106
rbd.c 61.2 KB