From 5a8a52d6107328d49b1fb9850ed53607cf41e583 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 13 Sep 2019 14:43:34 -0400 Subject: [PATCH] bcachefs: Fix a typo _iter, not iter Signed-off-by: Kent Overstreet --- fs/bcachefs/btree_update_leaf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bcachefs/btree_update_leaf.c b/fs/bcachefs/btree_update_leaf.c index 657359059a08..007d772d6e8f 100644 --- a/fs/bcachefs/btree_update_leaf.c +++ b/fs/bcachefs/btree_update_leaf.c @@ -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++) -- 2.39.5