[Devel] [PATCH] ext4: fix broken fsync for dirs/symlink
Dmitry Monakhov
dmonakhov at openvz.org
Wed Jul 20 09:38:08 PDT 2016
bad commit: 6a63db16da84fe
xfstests: generic/321 generic/335 generic/348
Signed-off-by: Dmitry Monakhov <dmonakhov at openvz.org>
---
fs/ext4/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index c0e7acd..7e44850 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -4919,8 +4919,8 @@ int ext4_force_commit(struct super_block *sb)
smp_rmb();
if (EXT4_SB(sb)->s_mount_flags & EXT4_MF_FS_ABORTED)
return -EROFS;
- }
return 0;
+ }
journal = EXT4_SB(sb)->s_journal;
return ext4_journal_force_commit(journal);
--
1.8.3.1
More information about the Devel
mailing list