diff options
author | Sun YangKai <sunk67188@gmail.com> | 2025-06-14 11:39:06 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-07-21 23:58:03 +0200 |
commit | 23a6abdadaa3114e74d2c0350ad7f2b50da7c841 (patch) | |
tree | 73794a775dc5434cbfd8987142a90ce1753a01a5 /fs/btrfs/file.c | |
parent | 6be75e891c611f5dd460a485b35cd0932b41f763 (diff) |
btrfs: remove unused parameters from btrfs_lookup_inode_extref()
The function btrfs_lookup_inode_extref(` no longer requires transaction
handle, insert length, or COW flag, as the only caller now performs a
read-only lookup using trans == NULL, ins_len == 0 and cow == 0.
This function was introduced in the early days where extref feature was
introduced by commit f186373fef00 ("btrfs: extended inode refs").
Then some cleanup was done in commit 33b98f227111 ("btrfs: cleanup:
removed unused 'btrfs_get_inode_ref_index'"), which removed the only
caller passing trans and other COW specific options.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Sun YangKai <sunk67188@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions