diff options
author | Nikolay Borisov <n.borisov.lkml@gmail.com> | 2017-02-20 13:50:39 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-02-28 11:30:07 +0100 |
commit | 8ed7a2a0e0732b62d925041ff04a5e9621e0e58b (patch) | |
tree | 882cc278c8e599b4440335dbd985d50873c2655a /fs/btrfs/inode.c | |
parent | 0e6bf9b13caa41b34592369c47faab916233343b (diff) | |
download | lwn-8ed7a2a0e0732b62d925041ff04a5e9621e0e58b.tar.gz lwn-8ed7a2a0e0732b62d925041ff04a5e9621e0e58b.zip |
btrfs: Make btrfs_orphan_reserve_metadata take btrfs_inode
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index a465a927395e..12345d4f25a5 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -3215,7 +3215,7 @@ int btrfs_orphan_add(struct btrfs_trans_handle *trans, struct inode *inode) /* grab metadata reservation from transaction handle */ if (reserve) { - ret = btrfs_orphan_reserve_metadata(trans, inode); + ret = btrfs_orphan_reserve_metadata(trans, BTRFS_I(inode)); ASSERT(!ret); if (ret) { atomic_dec(&root->orphan_inodes); |