summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-03-20 14:49:12 +0100
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:50 +0200
commit78ac4f9e5ae022bd183ca21da7b373d300b7be17 (patch)
treeba0f57efada2514c0b45eb537ea1f9b143440475 /fs/btrfs/ctree.h
parent25263cd7cec1b41b55bf7991d09a019ca1ff1359 (diff)
downloadlinux-78ac4f9e5ae022bd183ca21da7b373d300b7be17.tar.gz
linux-78ac4f9e5ae022bd183ca21da7b373d300b7be17.tar.bz2
linux-78ac4f9e5ae022bd183ca21da7b373d300b7be17.zip
btrfs: remove unused parameter fs_info from btrfs_truncate_item
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index aa557b43d349..b6b570bcadaa 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -2932,8 +2932,7 @@ int btrfs_block_can_be_shared(struct btrfs_root *root,
struct extent_buffer *buf);
void btrfs_extend_item(struct btrfs_fs_info *fs_info, struct btrfs_path *path,
u32 data_size);
-void btrfs_truncate_item(struct btrfs_fs_info *fs_info,
- struct btrfs_path *path, u32 new_size, int from_end);
+void btrfs_truncate_item(struct btrfs_path *path, u32 new_size, int from_end);
int btrfs_split_item(struct btrfs_trans_handle *trans,
struct btrfs_root *root,
struct btrfs_path *path,