diff options
author | Sage Weil <sage@inktank.com> | 2012-09-24 21:01:02 -0700 |
---|---|---|
committer | Alex Elder <elder@inktank.com> | 2012-10-01 17:20:00 -0500 |
commit | 6816282dab3a72efe8c0d182c1bc2960d87f4322 (patch) | |
tree | c36cea753185ad22b073d41a1e5e5dbe56a928a1 /drivers/block | |
parent | d63b77f4c552cc3a20506871046ab0fcbc332609 (diff) | |
download | talos-obmc-linux-6816282dab3a72efe8c0d182c1bc2960d87f4322.tar.gz talos-obmc-linux-6816282dab3a72efe8c0d182c1bc2960d87f4322.zip |
ceph: propagate layout error on osd request creation
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>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions