summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorNikolay Borisov <n.borisov.lkml@gmail.com>2017-01-10 20:35:38 +0200
committerDavid Sterba <dsterba@suse.com>2017-02-14 15:50:52 +0100
commit4ccb5c7231295a5666f4df1c08232bdf7975e0e8 (patch)
tree6e458e1a1f6e6aedc99ad599db95d5ad7ceaa50e /fs/btrfs/inode.c
parente07222c7d20633b86d3af9d55f97d687837b7c02 (diff)
downloadlinux-stable-4ccb5c7231295a5666f4df1c08232bdf7975e0e8.tar.gz
linux-stable-4ccb5c7231295a5666f4df1c08232bdf7975e0e8.tar.bz2
linux-stable-4ccb5c7231295a5666f4df1c08232bdf7975e0e8.zip
btrfs: Make btrfs_kill_delayed_inode_items take btrfs_inode
Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 5afc98f3a560..a72674c75097 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -4425,7 +4425,7 @@ int btrfs_truncate_inode_items(struct btrfs_trans_handle *trans,
* items.
*/
if (min_type == 0 && root == BTRFS_I(inode)->root)
- btrfs_kill_delayed_inode_items(inode);
+ btrfs_kill_delayed_inode_items(BTRFS_I(inode));
key.objectid = ino;
key.offset = (u64)-1;