]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
btrfs: constify arguments of some functions
authorFilipe Manana <fdmanana@suse.com>
Thu, 19 Feb 2026 15:34:12 +0000 (15:34 +0000)
committerDavid Sterba <dsterba@suse.com>
Tue, 7 Apr 2026 16:55:58 +0000 (18:55 +0200)
commit1899d9b09d171834a950254ad21718618e5c7fd6
tree7f4a1fcb3b419d05287c55dc2f57a608435b9e71
parent1fce8eec9f89e3aaa13ced7c7ca625ab427b1bcc
btrfs: constify arguments of some functions

There are several functions that take pointer arguments but don't need to
modify the objects they point to, so add the const qualifiers.

Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/fs.h
fs/btrfs/misc.h
fs/btrfs/space-info.c
fs/btrfs/space-info.h
fs/btrfs/super.h