From 184b1dc1a6bf4bc53a1c71bf14120498aad67ff5 Mon Sep 17 00:00:00 2001 From: Justin Husted Date: Mon, 11 Nov 2019 20:14:30 -0800 Subject: 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 Signed-off-by: Kent Overstreet --- fs/bcachefs/fs-common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/bcachefs/fs-common.h') 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 *, -- cgit v1.2.3