mds: properly return log replay error

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>