Commit 4c9002de authored by Al Viro's avatar Al Viro

fix fs/sysv s_dirt handling

got broken on ->sync_fs() conversion a year ago, nobody noticed...
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 459f6ed3
...@@ -43,6 +43,7 @@ static int sysv_sync_fs(struct super_block *sb, int wait) ...@@ -43,6 +43,7 @@ static int sysv_sync_fs(struct super_block *sb, int wait)
* then attach current time stamp. * then attach current time stamp.
* But if the filesystem was marked clean, keep it clean. * But if the filesystem was marked clean, keep it clean.
*/ */
sb->s_dirt = 0;
old_time = fs32_to_cpu(sbi, *sbi->s_sb_time); old_time = fs32_to_cpu(sbi, *sbi->s_sb_time);
if (sbi->s_type == FSTYPE_SYSV4) { if (sbi->s_type == FSTYPE_SYSV4) {
if (*sbi->s_sb_state == cpu_to_fs32(sbi, 0x7c269d38 - old_time)) if (*sbi->s_sb_state == cpu_to_fs32(sbi, 0x7c269d38 - old_time))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment