Re: [PATCH 12/15] btrfs: delete btrfs_inode_sectorsize helper

Anand Jain
2022-09-15T11:40:25Z

On 15/09/2022 07:04, Josef Bacik wrote:
> This is defined in btrfs_inode.h, and dereferences btrfs_root and
> btrfs_fs_info, both of which aren't defined in btrfs_inode.h.
> Additionally, in many places we already have root or fs_info, so this
> helper often makes the code harder to read. So delete the helper and
> simply open code it in the few places that we use it.
>
> Signed-off-by: Josef Bacik <josef@toxicpanda.com>

Reviewed-by: Anand Jain <anand.jain@oracle.com>