diff options
author | Nikolay Borisov <nborisov@suse.com> | 2017-02-20 13:50:31 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-28 11:30:06 +0100 |
commit | 8e7611cf38765f1bf1324ed1190f1f8e76ab9546 (patch) | |
tree | 1c8382a0b30659ed122fc3422dd457dc9977b901 /fs/btrfs/ioctl.c | |
parent | d0a0b78de4a641ff0924687bfd5a9698f1a97f7a (diff) | |
download | op-kernel-dev-8e7611cf38765f1bf1324ed1190f1f8e76ab9546.zip op-kernel-dev-8e7611cf38765f1bf1324ed1190f1f8e76ab9546.tar.gz |
btrfs: Make btrfs_insert_dir_item take btrfs_inode
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
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 d853997..a55361d 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -587,7 +587,7 @@ static noinline int create_subvol(struct inode *dir, } ret = btrfs_insert_dir_item(trans, root, - name, namelen, dir, &key, + name, namelen, BTRFS_I(dir), &key, BTRFS_FT_DIR, index); if (ret) { btrfs_abort_transaction(trans, ret); |