diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-08-25 04:30:06 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:10 +0300 |
commit | 9f6bd30703a32c25988c6aca87c1be1baddc57bd (patch) | |
tree | a5dc43e042198b4969c84ca814b2aa8c99548c01 /fs/bcachefs/fs-io.c | |
parent | 84841b0d1320c2084facb2f040d6ac0dfced943e (diff) | |
download | linux-9f6bd30703a32c25988c6aca87c1be1baddc57bd.tar.xz |
bcachefs: Reduce iter->trans usage
Disfavoured, and should go away.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/fs-io.c')
-rw-r--r-- | fs/bcachefs/fs-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/fs-io.c b/fs/bcachefs/fs-io.c index 9ac10b72d1cf..251029c33164 100644 --- a/fs/bcachefs/fs-io.c +++ b/fs/bcachefs/fs-io.c @@ -2576,7 +2576,7 @@ reassemble: copy.k->k.p.offset += shift >> 9; bch2_btree_iter_set_pos(dst, bkey_start_pos(©.k->k)); - ret = bch2_extent_atomic_end(dst, copy.k, &atomic_end); + ret = bch2_extent_atomic_end(&trans, dst, copy.k, &atomic_end); if (ret) continue; |