int namelen;
int idx = 0;
int rc = 0;
+ int rc1 = 0;
ENTRY;
LASSERT(!dt_object_exists(orphan));
dt_write_unlock(env, orphan);
stop:
- dt_trans_stop(env, dev, th);
+ rc1 = dt_trans_stop(env, dev, th);
+ if (rc1 != 0 && rc > 0)
+ rc = rc1;
unlock1:
lfsck_unlock(llh);