btrfs: relocation: constify parameters where possible
authorDavid Sterba <dsterba@suse.com>
Fri, 22 Sep 2023 11:07:29 +0000 (13:07 +0200)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:13 +0000 (16:44 +0200)
commitab7c8bbf3a088730e58da224bcad512f1dd9ca74
treed43b2e65bf43ce8fac408c92936629da1e550364
parent32f2abca380fedc60f7a8d3288e4c9586672e207
btrfs: relocation: constify parameters where possible

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>
fs/btrfs/relocation.c
fs/btrfs/relocation.h