Commit dbda63bb authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: bch2_bkey_make_mut() now calls bch2_trans_update()



It's safe to call bch2_trans_update with a k/v pair where the value
hasn't been filled out, as long as the key part has been and the value
is filled out by transaction commit time.

This patch folds the bch2_trans_update() call into bch2_bkey_make_mut(),
eliminating a bit of boilerplate.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent f12a798a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment