rbd: have rbd_add_parse_args() return error
authorAlex Elder <elder@inktank.com>
Fri, 26 Oct 2012 04:34:41 +0000 (23:34 -0500)
committerAlex Elder <elder@inktank.com>
Tue, 30 Oct 2012 13:34:30 +0000 (08:34 -0500)
commitdc79b113d6db48ee6ee7decf0216feee48757f01
tree232927c275a1e30db92396f79cc6753bdb381e7a
parent4e9afeba7aa9ca925a79d9ce82f1a8e79e14c291
rbd: have rbd_add_parse_args() return error

Change the interface to rbd_add_parse_args() so it returns an
error code rather than a pointer.  Return the ceph_options result
via a pointer whose address is passed as an argument.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
drivers/block/rbd.c