diff options
author | 2024-01-08 13:50:20 +1030 | |
---|---|---|
committer | 2024-03-04 16:24:45 +0100 | |
commit | 8bab0a30665e46054f8e19286f0d08a121453b08 (patch) | |
tree | f35ebe4f6cd39b58b8dcc085d8aef32b7db7524c /fs/btrfs/defrag.c | |
parent | Linux 6.8-rc7 (diff) | |
download | wireguard-linux-8bab0a30665e46054f8e19286f0d08a121453b08.tar.xz wireguard-linux-8bab0a30665e46054f8e19286f0d08a121453b08.zip |
btrfs: remove the pg_offset parameter from btrfs_get_extent()
The parameter @pg_offset of btrfs_get_extent() is only utilized for
inlined extent, and we already have an ASSERT() and tree-checker, to
make sure we can only get inline extent at file offset 0.
Any invalid inline extent with non-zero file offset would be rejected by
tree-checker in the first place.
Thus the @pg_offset parameter is not really necessary, just remove it.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/defrag.c')
0 files changed, 0 insertions, 0 deletions