summaryrefslogtreecommitdiff
path: root/mkfs.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-22 16:01:01 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-22 16:01:01 -0400
commit9fb549a6c1ccc19b2cf7e403aeed51688ff9aa7c (patch)
treed2c94add9b251cf0a6872008c99d0c99fbce7255 /mkfs.c
parent8a2c8123c5ee5b09f3b8265e5e6db2e687d29e99 (diff)
mkfs and dir-test fixes
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 f6a6b770..f878e3e1 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -58,7 +58,7 @@ static int make_root_dir(int fd) {
btrfs_set_inode_size(&inode_item, 3);
btrfs_set_inode_nlink(&inode_item, 1);
btrfs_set_inode_nblocks(&inode_item, 1);
- btrfs_set_inode_mode(&inode_item, S_IFDIR | 0711);
+ btrfs_set_inode_mode(&inode_item, S_IFDIR | 0755);
btrfs_set_super_root_dir(&super, objectid);