diff options
author | Josef Bacik <jbacik@redhat.com> | 2008-07-24 12:12:38 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:05 -0400 |
commit | aec7477b3b0e8ec93f6d274f25ba40b0665134d4 (patch) | |
tree | 2f689681e2f1b48d1c42b2242e21cbf456ec4c55 /fs/btrfs/ioctl.c | |
parent | 3eaa2885276fd6dac7b076a793932428b7168e74 (diff) |
Btrfs: Implement new dir index format
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index a61f2e7e2db5..faf081302d02 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -129,13 +129,13 @@ static noinline int create_subvol(struct btrfs_root *root, char *name, | |||
129 | dir = root->fs_info->sb->s_root->d_inode; | 129 | dir = root->fs_info->sb->s_root->d_inode; |
130 | ret = btrfs_insert_dir_item(trans, root->fs_info->tree_root, | 130 | ret = btrfs_insert_dir_item(trans, root->fs_info->tree_root, |
131 | name, namelen, dir->i_ino, &key, | 131 | name, namelen, dir->i_ino, &key, |
132 | BTRFS_FT_DIR); | 132 | BTRFS_FT_DIR, 0); |
133 | if (ret) | 133 | if (ret) |
134 | goto fail; | 134 | goto fail; |
135 | 135 | ||
136 | ret = btrfs_insert_inode_ref(trans, root->fs_info->tree_root, | 136 | ret = btrfs_insert_inode_ref(trans, root->fs_info->tree_root, |
137 | name, namelen, objectid, | 137 | name, namelen, objectid, |
138 | root->fs_info->sb->s_root->d_inode->i_ino); | 138 | root->fs_info->sb->s_root->d_inode->i_ino, 0); |
139 | if (ret) | 139 | if (ret) |
140 | goto fail; | 140 | goto fail; |
141 | 141 | ||