]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
bcachefs: Fix a typo
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 13 Sep 2019 18:43:34 +0000 (14:43 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:26 +0000 (17:08 -0400)
_iter, not iter

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_update_leaf.c

index 657359059a087835516db1dd9ab4f61d12fbf196..007d772d6e8ff566eb00ed67da7b200a17feea82 100644 (file)
@@ -34,7 +34,7 @@ static inline bool same_leaf_as_prev(struct btree_trans *trans,
 }
 
 #define trans_for_each_update_sorted(_trans, _i, _iter)                        \
-       for (iter = 0;                                                  \
+       for (_iter = 0;                                                 \
             _iter < _trans->nr_updates &&                              \
             (_i = _trans->updates + _trans->updates_sorted[_iter], 1); \
             _iter++)