aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2012-06-26 19:57:03 +0000
committerSage Weil <[email protected]>2012-07-31 01:21:46 +0000
commit57cfc1060f35ac2345cb37ea474f9644ac5cfd75 (patch)
tree5a9d18fe47badf7002172cb2af6375d34e5159a6 /lib/dynamic_debug.c
parentrbd: have __rbd_add_snap_dev() return a pointer (diff)
downloadkernel-57cfc1060f35ac2345cb37ea474f9644ac5cfd75.tar.gz
kernel-57cfc1060f35ac2345cb37ea474f9644ac5cfd75.zip
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 <[email protected]> Reviewed-by: Josh Durgin <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions