projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19ee5f2
)
bcachefs: fix rename + fsync
author
Kent Overstreet
<kent.overstreet@gmail.com>
Sun, 22 Jul 2018 17:15:51 +0000
(13:15 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:07 +0000
(17:08 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/fs.c
b/fs/bcachefs/fs.c
index
a4d8225
..
cd29404
100644
(file)
--- a/
fs/bcachefs/fs.c
+++ b/
fs/bcachefs/fs.c
@@
-849,6
+849,10
@@
retry:
journal_seq_copy(i.dst_dir, journal_seq);
}
+ journal_seq_copy(i.src_inode, journal_seq);
+ if (i.dst_inode)
+ journal_seq_copy(i.dst_inode, journal_seq);
+
bch2_inode_update_after_write(c, i.src_inode, &src_inode_u,
ATTR_CTIME);
if (i.dst_inode)