diff options
author | Sasha Finkelstein <fnkl.kernel@gmail.com> | 2024-08-18 19:09:02 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-09-21 17:35:20 +0200 |
commit | 4645855df01eda7c421c182515215682e0451b9b (patch) | |
tree | f0df23e33ca4b2f70a6adde3c972103413bd49b8 /fs/bcachefs/str_hash.h | |
parent | bcachefs: rebalance writes use BCH_WRITE_ONLY_SPECIFIED_DEVS (diff) | |
download | linux-4645855df01eda7c421c182515215682e0451b9b.tar.xz linux-4645855df01eda7c421c182515215682e0451b9b.zip |
bcachefs: Hook up RENAME_WHITEOUT in rename.
This is needed for overlayfs, which is used by container managers.
Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-rw-r--r-- | fs/bcachefs/str_hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/str_hash.h b/fs/bcachefs/str_hash.h index c8c266cb5797..215eed4cce6d 100644 --- a/fs/bcachefs/str_hash.h +++ b/fs/bcachefs/str_hash.h @@ -270,7 +270,7 @@ int bch2_hash_set_in_snapshot(struct btree_trans *trans, desc.hash_bkey(info, bkey_i_to_s_c(insert)), snapshot), POS(insert->k.p.inode, U64_MAX), - BTREE_ITER_slots|BTREE_ITER_intent, k, ret) { + BTREE_ITER_slots|BTREE_ITER_intent|flags, k, ret) { if (is_visible_key(desc, inum, k)) { if (!desc.cmp_bkey(k, bkey_i_to_s_c(insert))) goto found; |