Skip to content

Commit

Permalink
fix fs/sysv s_dirt handling
Browse files Browse the repository at this point in the history
got broken on ->sync_fs() conversion a year ago, nobody noticed...

Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed May 28, 2010
1 parent 459f6ed commit 4c9002d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fs/sysv/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ static int sysv_sync_fs(struct super_block *sb, int wait)
* then attach current time stamp.
* But if the filesystem was marked clean, keep it clean.
*/
sb->s_dirt = 0;
old_time = fs32_to_cpu(sbi, *sbi->s_sb_time);
if (sbi->s_type == FSTYPE_SYSV4) {
if (*sbi->s_sb_state == cpu_to_fs32(sbi, 0x7c269d38 - old_time))
Expand Down

0 comments on commit 4c9002d

Please sign in to comment.