fix SNS system tests regression
The regression was introduced at after which
SNS system tests started failing.
RCA: rc is not reset after device_check() at ioreq_dgmode_read().
As result, in some conditions, it may be interpreted as failed
degraded read.
Solution: reset rc after device_check() call.
@@ -1596,6 +1596,7 @@ static int ioreq_dgmode_read(struct m0_op_io *ioo, bool rmw)
pm = ioo_to_poolmach(ioo);
M0_ASSERT(pm != NULL);
+ rc = 0;
m0_htable_for(tioreqht, ti, &xfer->nxr_tioreqs_hash) {
/*
* Data was retrieved successfully, so no need to check the
