Commit 4c9002de329c9ae825f10eb9044c928434a4d230

Authored by Al Viro
1 parent 459f6ed3b8

fix fs/sysv s_dirt handling

got broken on ->sync_fs() conversion a year ago, nobody noticed...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -43,6 +43,7 @@
43 43 * then attach current time stamp.
44 44 * But if the filesystem was marked clean, keep it clean.
45 45 */
  46 + sb->s_dirt = 0;
46 47 old_time = fs32_to_cpu(sbi, *sbi->s_sb_time);
47 48 if (sbi->s_type == FSTYPE_SYSV4) {
48 49 if (*sbi->s_sb_state == cpu_to_fs32(sbi, 0x7c269d38 - old_time))