Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 128931
b: refs/heads/master
c: 325cd4b
h: refs/heads/master
i:
  128929: 21d6063
  128927: 24adaab
v: v3
  • Loading branch information
Zheng Yan authored and Chris Mason committed Sep 25, 2008
1 parent ae5b2e6 commit a5e23ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6527cdbe68a27a2ee745f36d001aa32d0f46f370
refs/heads/master: 325cd4bafeb6cfb44addd6e807a9b74170d1be31
2 changes: 2 additions & 0 deletions trunk/fs/btrfs/volumes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1079,6 +1079,8 @@ int btrfs_init_new_device(struct btrfs_root *root, char *device_path)
if (ret)
goto out_close_bdev;

set_blocksize(device->bdev, 4096);

total_bytes = btrfs_super_total_bytes(&root->fs_info->super_copy);
btrfs_set_super_total_bytes(&root->fs_info->super_copy,
total_bytes + device->total_bytes);
Expand Down

0 comments on commit a5e23ba

Please sign in to comment.