Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142639
b: refs/heads/master
c: e626874
h: refs/heads/master
i:
  142637: e836cba
  142635: 4caf03c
  142631: 2817592
  142623: ca9d1a5
v: v3
  • Loading branch information
Ryusuke Konishi authored and Linus Torvalds committed Apr 7, 2009
1 parent 22882d0 commit 9db4f78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 1f5abe7e7dbcd83e73212c6cb135a6106cea6a0b
refs/heads/master: e62687468588f47c32256e3c8c36157c40111b6e
6 changes: 3 additions & 3 deletions trunk/fs/nilfs2/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@ int nilfs_commit_super(struct nilfs_sb_info *sbi)
sbp->s_free_blocks_count = cpu_to_le64(nfreeblocks);
sbp->s_wtime = cpu_to_le64(get_seconds());
sbp->s_sum = 0;
sbp->s_sum = crc32_le(nilfs->ns_crc_seed, (unsigned char *)sbp,
le16_to_cpu(sbp->s_bytes));

sbp->s_sum = cpu_to_le32(crc32_le(nilfs->ns_crc_seed,
(unsigned char *)sbp,
le16_to_cpu(sbp->s_bytes)));
sbi->s_super->s_dirt = 0;
return nilfs_sync_super(sbi);
}
Expand Down

0 comments on commit 9db4f78

Please sign in to comment.