summaryrefslogtreecommitdiff
path: root/mkfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs.c')
-rw-r--r--mkfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs.c b/mkfs.c
index 6edc4c66..8d7071e7 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -138,7 +138,7 @@ static int make_root_dir(int fd, const char *device_name) {
ret = btrfs_insert_inode_ref(trans, root->fs_info->tree_root,
"default", 7, location.objectid,
- BTRFS_ROOT_TREE_DIR_OBJECTID);
+ BTRFS_ROOT_TREE_DIR_OBJECTID, 0);
if (ret)
goto err;