ceph: propagate layout error on osd request creation
authorSage Weil <sage@inktank.com>
Tue, 25 Sep 2012 04:01:02 +0000 (21:01 -0700)
committerAlex Elder <elder@inktank.com>
Mon, 1 Oct 2012 22:20:00 +0000 (17:20 -0500)
If we are creating an osd request and get an invalid layout, return
an EINVAL to the caller.  We switch up the return to have an error
code instead of NULL implying -ENOMEM.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>

No differences found