diff options
author | Nikolay Borisov <nborisov@suse.com> | 2017-02-20 12:50:33 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-28 11:30:06 +0100 |
commit | 877574e2548bbfd792b0b1200d4b46eef54c05f5 (patch) | |
tree | 15ae858bcaf67551cfc23dbe9377411b46b3f16b /fs/btrfs/transaction.c | |
parent | btrfs: make btrfs_set_inode_index_count take btrfs_inode (diff) | |
download | linux-877574e2548bbfd792b0b1200d4b46eef54c05f5.tar.xz linux-877574e2548bbfd792b0b1200d4b46eef54c05f5.zip |
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/transaction.c')
-rw-r--r-- | fs/btrfs/transaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 294563216dd3..05c2bbff2a28 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c @@ -1505,7 +1505,7 @@ static noinline int create_pending_snapshot(struct btrfs_trans_handle *trans, /* * insert the directory item */ - ret = btrfs_set_inode_index(parent_inode, &index); + ret = btrfs_set_inode_index(BTRFS_I(parent_inode), &index); BUG_ON(ret); /* -ENOMEM */ /* check if there is a file/dir which has the same name. */ |