aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2024-05-20 18:49:18 +0000
committerDavid Sterba <[email protected]>2024-07-11 13:33:19 +0000
commit56e6f2687521390bead4e4ea279ca4eec15579ef (patch)
tree345b22d78e1be7bb21fda01d731c9776a996d9e1 /fs/btrfs/dev-replace.c
parentbtrfs: keep const when returning value from get_unaligned_le8() (diff)
downloadkernel-56e6f2687521390bead4e4ea279ca4eec15579ef.tar.gz
kernel-56e6f2687521390bead4e4ea279ca4eec15579ef.zip
btrfs: constify parameters of write_eb_member() and its users
Reported by 'gcc -Wcast-qual', the argument from which write_extent_buffer() reads data to write to the eb should be const. In addition the const needs to be also added to __write_extent_buffer() local buffers. All callers of write_eb_member() can now be updated to use const for the input buffer structure or type. Reviewed-by: Boris Burkov <[email protected]> Reviewed-by: Anand Jain <[email protected]> Reviewed-by: Naohiro Aota <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions