diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-08 19:10:19 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-13 21:22:24 -0400 |
commit | 506b187603f18755d69c19559828a6a9ed48093a (patch) | |
tree | c9fb2dd790983d94c729658800c93ccc673064c2 /fs/bcachefs/lru.c | |
parent | 56e230473d395c953cfab78b876fcf0f62b455b1 (diff) | |
download | linux-506b187603f18755d69c19559828a6a9ed48093a.tar.gz linux-506b187603f18755d69c19559828a6a9ed48093a.tar.bz2 linux-506b187603f18755d69c19559828a6a9ed48093a.zip |
bcachefs: bch2_btree_bit_mod -> bch2_btree_bit_mod_buffered
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/lru.c')
-rw-r--r-- | fs/bcachefs/lru.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/lru.c b/fs/bcachefs/lru.c index 7a4ca5a28b3e..ed7577cdb212 100644 --- a/fs/bcachefs/lru.c +++ b/fs/bcachefs/lru.c @@ -44,8 +44,8 @@ static int __bch2_lru_set(struct btree_trans *trans, u16 lru_id, u64 dev_bucket, u64 time, bool set) { return time - ? bch2_btree_bit_mod(trans, BTREE_ID_lru, - lru_pos(lru_id, dev_bucket, time), set) + ? bch2_btree_bit_mod_buffered(trans, BTREE_ID_lru, + lru_pos(lru_id, dev_bucket, time), set) : 0; } |