diff options
Diffstat (limited to 'fs/btrfs/ioctl.c')
-rw-r--r-- | fs/btrfs/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 69c4a07f5869..5d67858ce993 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -173,7 +173,7 @@ static noinline int create_subvol(struct btrfs_root *root, | |||
173 | trans = btrfs_start_transaction(new_root, 1); | 173 | trans = btrfs_start_transaction(new_root, 1); |
174 | BUG_ON(!trans); | 174 | BUG_ON(!trans); |
175 | 175 | ||
176 | ret = btrfs_create_subvol_root(new_root, dentry, trans, new_dirid, | 176 | ret = btrfs_create_subvol_root(trans, new_root, dentry, new_dirid, |
177 | BTRFS_I(dir)->block_group); | 177 | BTRFS_I(dir)->block_group); |
178 | if (ret) | 178 | if (ret) |
179 | goto fail; | 179 | goto fail; |