diff options
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 13046295bf7a..7aff6bb55d91 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c | |||
@@ -319,6 +319,7 @@ static int __setup_root(int blocksize, | |||
319 | root->last_inode_alloc = 0; | 319 | root->last_inode_alloc = 0; |
320 | memset(&root->root_key, 0, sizeof(root->root_key)); | 320 | memset(&root->root_key, 0, sizeof(root->root_key)); |
321 | memset(&root->root_item, 0, sizeof(root->root_item)); | 321 | memset(&root->root_item, 0, sizeof(root->root_item)); |
322 | root->root_key.objectid = objectid; | ||
322 | return 0; | 323 | return 0; |
323 | } | 324 | } |
324 | 325 | ||