diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-07-16 17:23:10 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-09 09:41:48 -0400 |
commit | abbfc4db50e27ab0d7b5315452bc8faa5eeb19df (patch) | |
tree | 136ff652946aadcabc634d97ae77e13b5651e766 /fs/bcachefs/btree_update.c | |
parent | 094c6a9f5cd567e9fe0e9f0616157a7e6369566e (diff) |
bcachefs: Add check for btree_path ref overflow
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update.c')
-rw-r--r-- | fs/bcachefs/btree_update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_update.c b/fs/bcachefs/btree_update.c index d6f6df10dcc3..57610c7465b3 100644 --- a/fs/bcachefs/btree_update.c +++ b/fs/bcachefs/btree_update.c @@ -449,7 +449,7 @@ bch2_trans_update_by_path(struct btree_trans *trans, btree_path_idx_t path_idx, } } - __btree_path_get(trans->paths + i->path, true); + __btree_path_get(trans, trans->paths + i->path, true); /* * If a key is present in the key cache, it must also exist in the |