summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/str_hash.h
diff options
context:
space:
mode:
authorSasha Finkelstein <fnkl.kernel@gmail.com>2024-08-18 19:09:02 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2024-09-21 17:35:20 +0200
commit4645855df01eda7c421c182515215682e0451b9b (patch)
treef0df23e33ca4b2f70a6adde3c972103413bd49b8 /fs/bcachefs/str_hash.h
parentbcachefs: rebalance writes use BCH_WRITE_ONLY_SPECIFIED_DEVS (diff)
downloadlinux-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.h2
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;