diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-05-01 02:21:06 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:10:01 +0300 |
commit | dbda63bbb0dbce070f22132339a07146bf1af850 (patch) | |
tree | ce851c5d2463608f433e404e829b307ff34f21c9 /fs/bcachefs/subvolume.c | |
parent | f12a798a898dec36de9705d40a1b03e2418aabe0 (diff) | |
download | linux-dbda63bbb0dbce070f22132339a07146bf1af850.tar.xz |
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: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/subvolume.c')
0 files changed, 0 insertions, 0 deletions