|
@@ -916,7 +916,7 @@ int lov_io_init_empty(const struct lu_env *env, struct cl_object *obj,
|
|
}
|
|
}
|
|
|
|
|
|
io->ci_result = result < 0 ? result : 0;
|
|
io->ci_result = result < 0 ? result : 0;
|
|
- return result != 0;
|
|
|
|
|
|
+ return result;
|
|
}
|
|
}
|
|
|
|
|
|
int lov_io_init_released(const struct lu_env *env, struct cl_object *obj,
|
|
int lov_io_init_released(const struct lu_env *env, struct cl_object *obj,
|
|
@@ -959,7 +959,7 @@ int lov_io_init_released(const struct lu_env *env, struct cl_object *obj,
|
|
}
|
|
}
|
|
|
|
|
|
io->ci_result = result < 0 ? result : 0;
|
|
io->ci_result = result < 0 ? result : 0;
|
|
- return result != 0;
|
|
|
|
|
|
+ return result;
|
|
}
|
|
}
|
|
|
|
|
|
/** @} lov */
|
|
/** @} lov */
|