summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-04-30 18:59:28 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:10:01 -0400
commitf8cb35fda161715e384df340f0bae4de37c5576f (patch)
treee6c122be21bbb529358424da7997c9209f27efdf /Kbuild
parent34dfa5db191fe227c0c413624b7387f1f1804029 (diff)
bcachefs: bch2_bkey_alloc() 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_alloc(), eliminating a bit of boilerplate. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions