Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312866
b: refs/heads/master
c: a837107
h: refs/heads/master
v: v3
  • Loading branch information
Artem Bityutskiy authored and Al Viro committed Jul 14, 2012
1 parent 2f27d4b commit df0cdd3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e0471c8d8abbc2b07fc82f7b02896d1637909319
refs/heads/master: a837107439ea50116e59943556d6902c09e52772
5 changes: 3 additions & 2 deletions trunk/fs/affs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ affs_commit_super(struct super_block *sb, int wait)
struct buffer_head *bh = sbi->s_root_bh;
struct affs_root_tail *tail = AFFS_ROOT_TAIL(sb, bh);

lock_super(sb);
lock_buffer(bh);
secs_to_datestamp(get_seconds(), &tail->disk_change);
affs_fix_checksum(sb, bh);
unlock_buffer(bh);

mark_buffer_dirty(bh);
if (wait)
sync_dirty_buffer(bh);
unlock_super(sb);
}

static void
Expand Down

0 comments on commit df0cdd3

Please sign in to comment.