diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-06-12 11:20:21 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-06-12 11:24:53 -0400 |
commit | 0eb4ad1d972af77b94073f328c85f958b53e3fdb (patch) | |
tree | e51f23a568dbc904b5150ea7ce57a7f789ee3e6e | |
parent | 12daee0f9d39799816fd15e1f393bf169b0d8dcc (diff) |
bcachefs: Fix a bug in the str_hash code
fixes b0f3e786995cb3b12975503f963e469db5a4f09b
-rw-r--r-- | fs/bcachefs/str_hash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/str_hash.h b/fs/bcachefs/str_hash.h index f7dd0144f608..c80510952b71 100644 --- a/fs/bcachefs/str_hash.h +++ b/fs/bcachefs/str_hash.h @@ -237,6 +237,7 @@ static inline int bch2_hash_needs_whiteout(const struct bch_hash_desc desc, { struct bkey_s_c k; + bch2_btree_iter_copy(iter, start); bch2_btree_iter_next_slot(iter); for_each_btree_key_continue(iter, BTREE_ITER_SLOTS, k) { |