From: Alex Elder Date: Tue, 26 Jun 2012 19:57:03 +0000 (-0700) Subject: rbd: make rbd_create_rw_ops() return a pointer X-Git-Tag: v3.6-rc1~36^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57cfc1060f35ac2345cb37ea474f9644ac5cfd75;p=pandora-kernel.git 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 Reviewed-by: Josh Durgin --- Reading git-diff-tree failed