]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: stop accessing ->csum_root directly
authorJosef Bacik <josef@toxicpanda.com>
Fri, 5 Nov 2021 20:45:48 +0000 (16:45 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Jan 2022 14:09:49 +0000 (15:09 +0100)
commitd7c1c3bd7ee6bafced736869b00d6f176ce61a0b
tree6fa19060d267497123fdcdadafbd9ba62a6c6dc1
parentfdfd8c794919a0c45afedaee1cfe08d7bffeb6cc
btrfs: stop accessing ->csum_root directly

We are going to have multiple csum roots in the future, so convert all
users of ->csum_root to btrfs_csum_root() and rename ->csum_root to
->_csum_root so we can easily find remaining users in the future.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/block-rsv.c
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/extent-tree.c
fs/btrfs/file-item.c
fs/btrfs/inode.c
fs/btrfs/relocation.c
fs/btrfs/scrub.c
fs/btrfs/tree-log.c