commit | ff79f8190b6e955ff7a71faf804a3017d526e657 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Mon Oct 15 16:22:25 2007 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:03:57 2008 -0400 |
tree | d3f56ae2822eb312eba760dcf4df1a058de5a699 | |
parent | cf786e79e3f96f4bc037c69e1a7afb5fb85c6111 [diff] [blame] |
Btrfs: Add back file data checksumming Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 3878772..5accced 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c
@@ -594,6 +594,7 @@ tree_root->nodesize = nodesize; tree_root->leafsize = leafsize; tree_root->sectorsize = sectorsize; + sb_set_blocksize(sb, sectorsize); i_size_write(fs_info->btree_inode, btrfs_super_total_bytes(disk_super));