diff options
author | Nikolay Borisov <nborisov@suse.com> | 2017-02-20 13:50:33 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-28 11:30:06 +0100 |
commit | 877574e2548bbfd792b0b1200d4b46eef54c05f5 (patch) | |
tree | 15ae858bcaf67551cfc23dbe9377411b46b3f16b /fs/btrfs/ioctl.c | |
parent | 4c570655f4f95609e9f682a36647f84b54b8a721 (diff) | |
download | linux-877574e2548bbfd792b0b1200d4b46eef54c05f5.tar.gz |
btrfs: Make btrfs_set_inode_index 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 a55361d9554d..628d1b180cee 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -580,7 +580,7 @@ static noinline int create_subvol(struct inode *dir, /* * insert the directory item */ - ret = btrfs_set_inode_index(dir, &index); + ret = btrfs_set_inode_index(BTRFS_I(dir), &index); if (ret) { btrfs_abort_transaction(trans, ret); goto fail; |