]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: convert btrfs_inode_sectorsize to take btrfs_inode
authorNikolay Borisov <nborisov@suse.com>
Mon, 31 Aug 2020 11:42:42 +0000 (14:42 +0300)
committerDavid Sterba <dsterba@suse.com>
Wed, 7 Oct 2020 10:12:18 +0000 (12:12 +0200)
commit2325b78eca9179ff918ab635b5107f8eff91d9d3
treed16f8b583477b9f5dd8c270b18bfc9b6cbd1ab9a
parent7d1e6a70436cd4fd7129aa508919c34b9e991f39
btrfs: convert btrfs_inode_sectorsize to take btrfs_inode

It's counterintuitive to have a function named btrfs_inode_xxx which
takes a generic inode. Also move the function to btrfs_inode.h so that
it has access to the definition of struct btrfs_inode.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/btrfs_inode.h
fs/btrfs/ctree.h
fs/btrfs/extent_io.c
fs/btrfs/file.c
fs/btrfs/ordered-data.c
fs/btrfs/reflink.c