summaryrefslogtreecommitdiff
path: root/drivers/block/rbd.c
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2012-09-25 04:01:02 (GMT)
committerAlex Elder <elder@inktank.com>2012-10-01 22:20:00 (GMT)
commit6816282dab3a72efe8c0d182c1bc2960d87f4322 (patch)
treec36cea753185ad22b073d41a1e5e5dbe56a928a1 /drivers/block/rbd.c
parentd63b77f4c552cc3a20506871046ab0fcbc332609 (diff)
downloadlinux-6816282dab3a72efe8c0d182c1bc2960d87f4322.tar.xz
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/rbd.c')
0 files changed, 0 insertions, 0 deletions