btrfs: relocation: constify parameters where possible

[ Upstream commit ab7c8bbf3a ]

Lots of the functions in relocation.c don't change pointer parameters
but lack the annotations. Add them and reformat according to current
coding style if needed.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Stable-dep-of: db7e68b522 ("btrfs: drop the backref cache during relocation if we commit")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
David Sterba 2023-09-22 13:07:29 +02:00 • committed by Greg Kroah-Hartman
commit 4dc6ea8b4d
2 changed files with 33 additions and 32 deletions