diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-04 15:42:17 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-04-04 15:42:17 -0400 |
commit | a37e1e720451664477b030242616b3e48d31013e (patch) | |
tree | e47d2a0956b071d1483427bae0f4e90e8a32cf55 /utils.c | |
parent | a57a255e442c8d8d3c1c28780af84483c3b5ec21 (diff) |
Recow all roots at the end of mkfs
The mkfs code bootstraps the filesystem on a single device. Once
the raid block groups are setup, it needs to recow all of the blocks so
that each tree is properly allocated.
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -431,7 +431,7 @@ int btrfs_add_to_fsid(struct btrfs_trans_handle *trans, device->io_width = io_width; device->io_align = io_align; device->sector_size = sectorsize; - device->fd = 0; + device->fd = fd; device->total_bytes = block_count; device->bytes_used = 0; device->total_ios = 0; |