diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-08-22 18:47:16 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:11 -0400 |
commit | 4491283f8d827bdfc6baed27028ae636494bdbac (patch) | |
tree | fefbbec8c21f9c8fd41a2c42a910b882eca2e176 /fs/bcachefs/btree_trans_commit.c | |
parent | a111901f52140f7f6f7ff0034c5ffa15448c784b (diff) |
bcachefs: Fix a double free on invalid bkey
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_trans_commit.c')
-rw-r--r-- | fs/bcachefs/btree_trans_commit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_trans_commit.c b/fs/bcachefs/btree_trans_commit.c index e099fe570962..f498513d35f3 100644 --- a/fs/bcachefs/btree_trans_commit.c +++ b/fs/bcachefs/btree_trans_commit.c @@ -801,7 +801,6 @@ static noinline int bch2_trans_commit_bkey_invalid(struct btree_trans *trans, un bch2_inconsistent_error(c); bch2_dump_trans_updates(trans); - printbuf_exit(err); return -EINVAL; } |