diff options
author | Nikolay Borisov <nborisov@suse.com> | 2017-02-20 13:50:59 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-28 11:30:10 +0100 |
commit | 73f2e545b68f6af033fd2c083ca9dc3079e79083 (patch) | |
tree | 8426521e9179b91457289683e3a01daa77bd6ccd /fs/btrfs/relocation.c | |
parent | 3d6ae7bb6a64b7dbc516863eeb99c3182d499aba (diff) | |
download | linux-stable-73f2e545b68f6af033fd2c083ca9dc3079e79083.tar.gz linux-stable-73f2e545b68f6af033fd2c083ca9dc3079e79083.tar.bz2 linux-stable-73f2e545b68f6af033fd2c083ca9dc3079e79083.zip |
btrfs: Make btrfs_orphan_add take btrfs_inode
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/relocation.c')
-rw-r--r-- | fs/btrfs/relocation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c index e48625413fcb..d60df51959f7 100644 --- a/fs/btrfs/relocation.c +++ b/fs/btrfs/relocation.c @@ -4246,7 +4246,7 @@ struct inode *create_reloc_inode(struct btrfs_fs_info *fs_info, BUG_ON(IS_ERR(inode) || is_bad_inode(inode)); BTRFS_I(inode)->index_cnt = group->key.objectid; - err = btrfs_orphan_add(trans, inode); + err = btrfs_orphan_add(trans, BTRFS_I(inode)); out: btrfs_end_transaction(trans); btrfs_btree_balance_dirty(fs_info); |