summaryrefslogtreecommitdiff
path: root/fs/bcachefs/fs-common.h
diff options
context:
space:
mode:
authorJustin Husted <sigstop@gmail.com>2019-11-12 07:14:30 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:33 +0300
commit184b1dc1a6bf4bc53a1c71bf14120498aad67ff5 (patch)
tree5411a4bcd40a99ac2533b92c28c540bbc287d77c /fs/bcachefs/fs-common.h
parentc45d473df77f41a104ecf78275be49b67f6d6295 (diff)
downloadlinux-184b1dc1a6bf4bc53a1c71bf14120498aad67ff5.tar.xz
bcachefs: Update directory timestamps during link
Timestamp updates on the directory during a link operation were cached. This is inconsistent with other metadata operations such as rename, as well as being less efficient. Signed-off-by: Justin Husted <sigstop@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs-common.h')
-rw-r--r--fs/bcachefs/fs-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/fs-common.h b/fs/bcachefs/fs-common.h
index c1621485a526..2273b7961c9b 100644
--- a/fs/bcachefs/fs-common.h
+++ b/fs/bcachefs/fs-common.h
@@ -14,6 +14,7 @@ int bch2_create_trans(struct btree_trans *, u64,
int bch2_link_trans(struct btree_trans *, u64,
u64, struct bch_inode_unpacked *,
+ struct bch_inode_unpacked *,
const struct qstr *);
int bch2_unlink_trans(struct btree_trans *,