[Devel] [PATCH RHEL7 COMMIT] ext4: fix broken fsync for dirs/symlink
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Aug 9 02:30:43 PDT 2016
The commit is pushed to "branch-rh7-3.10.0-327.22.2.vz7.16.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-327.22.2.vz7.16.3
------>
commit f7b0c64bac2f61069df1f5fbe38672520aa770a2
Author: Dmitry Monakhov <dmonakhov at openvz.org>
Date: Tue Aug 9 13:30:43 2016 +0400
ext4: fix broken fsync for dirs/symlink
Fixes commit 6a63db16da84fe
("ext4: Fix error handling after filesystem abort").
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);
More information about the Devel
mailing list