Loading fs/bcachefs/io_read.c +2 −1 Original line number Diff line number Diff line Loading @@ -262,7 +262,8 @@ static struct promote_op *__promote_alloc(struct btree_trans *trans, bio_free_pages(&(*rbio)->bio); kfree(*rbio); *rbio = NULL; kfree(op); /* We may have added to the rhashtable and thus need rcu freeing: */ kfree_rcu(op, rcu); bch2_write_ref_put(c, BCH_WRITE_REF_promote); return ERR_PTR(ret); } Loading Loading
fs/bcachefs/io_read.c +2 −1 Original line number Diff line number Diff line Loading @@ -262,7 +262,8 @@ static struct promote_op *__promote_alloc(struct btree_trans *trans, bio_free_pages(&(*rbio)->bio); kfree(*rbio); *rbio = NULL; kfree(op); /* We may have added to the rhashtable and thus need rcu freeing: */ kfree_rcu(op, rcu); bch2_write_ref_put(c, BCH_WRITE_REF_promote); return ERR_PTR(ret); } Loading