btrfs: rename btrfs_insert_file_extent() to btrfs_insert_hole_extent()
authorOmar Sandoval <osandov@osandov.com>
Sat, 23 Jul 2022 22:25:29 +0000 (18:25 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:27:54 +0000 (12:27 +0200)
commitd1f68ba0695a0ceba1a2ec72ee9b949fe4b92c98
tree7e6bf469de2e86a26c87d3f355386bc5e22f2e09
parent7f298f224e889dece8d015ee7e3955a2adda60b8
btrfs: rename btrfs_insert_file_extent() to btrfs_insert_hole_extent()

btrfs_insert_file_extent() is only ever used to insert holes, so rename
it and remove the redundant parameters.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Omar Sandoval <osandov@osandov.com>
Signed-off-by: Sweet Tea Dorminy <sweettea-kernel@dorminy.me>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h
fs/btrfs/file-item.c
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/tree-log.c