rbd: record overall image request result
authorAlex Elder <elder@inktank.com>
Thu, 24 Jan 2013 22:13:36 +0000 (16:13 -0600)
committerSage Weil <sage@inktank.com>
Thu, 2 May 2013 04:18:37 +0000 (21:18 -0700)
commita5a337d4382dfe0f9e9e072e7d3eaad8e05e4b0b
tree5683b236830708689357809ef97c18ff8dde9124
parent5cbf6f12c48121199cc214c93dea98cce719343b
rbd: record overall image request result

If any image object request produces a non-zero result, preserve
that as the result of the overall image request.  If multiple
objects have non-zero results, save only the first one.

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