summaryrefslogtreecommitdiff
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-20 16:49:12 +0300
committerDavid Sterba <dsterba@suse.com>2019-04-29 20:02:50 +0300
commit78ac4f9e5ae022bd183ca21da7b373d300b7be17 (patch)
treeba0f57efada2514c0b45eb537ea1f9b143440475 /fs/btrfs/inode.c
parent25263cd7cec1b41b55bf7991d09a019ca1ff1359 (diff)
downloadlinux-78ac4f9e5ae022bd183ca21da7b373d300b7be17.tar.xz
btrfs: remove unused parameter fs_info from btrfs_truncate_item
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 19eebdad798c..fb237ffbda1a 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -4669,7 +4669,7 @@ search_again:
btrfs_set_file_extent_ram_bytes(leaf, fi, size);
size = btrfs_file_extent_calc_inline_size(size);
- btrfs_truncate_item(root->fs_info, path, size, 1);
+ btrfs_truncate_item(path, size, 1);
} else if (!del_item) {
/*
* We have to bail so the last_size is set to