BUILD_BUG_ON(sizeof(union nodemap_rec) != 32);
th = dt_trans_create(env, dev);
-
if (IS_ERR(th))
- GOTO(out, rc = PTR_ERR(th));
+ RETURN(PTR_ERR(th));
rc = dt_declare_insert(env, idx,
(const struct dt_rec *)nr,
int rc = 0;
th = dt_trans_create(env, dev);
-
if (IS_ERR(th))
- GOTO(out, rc = PTR_ERR(th));
+ RETURN(PTR_ERR(th));
rc = dt_declare_delete(env, idx, (const struct dt_key *)nk, th);
if (rc != 0)
int rc = 0;
th = dt_trans_create(env, dev);
-
if (IS_ERR(th))
- GOTO(out, rc = PTR_ERR(th));
+ RETURN(PTR_ERR(th));
rc = dt_declare_delete(env, idx, (const struct dt_key *)nk, th);
if (rc != 0)