bcachefs: Update directory timestamps during link
authorJustin Husted <sigstop@gmail.com>
Tue, 12 Nov 2019 04:14:30 +0000 (20:14 -0800)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:33 +0000 (17:08 -0400)
commit184b1dc1a6bf4bc53a1c71bf14120498aad67ff5
tree5411a4bcd40a99ac2533b92c28c540bbc287d77c
parentc45d473df77f41a104ecf78275be49b67f6d6295
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>
fs/bcachefs/fs-common.c
fs/bcachefs/fs-common.h
fs/bcachefs/fs.c
fs/bcachefs/fsck.c