btrfs: use SECTOR_SHIFT to convert physical offset to LBA
authorAnand Jain <anand.jain@oracle.com>
Sat, 15 Apr 2023 09:51:23 +0000 (17:51 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2023 11:59:23 +0000 (13:59 +0200)
commit29e70be261d92829af26fda16769784710f45503
tree2fc9eccf7c573d2eabf3a931219718fe55999ed8
parenteee3b811784e52f06ccb3e1c4518a9907627d4fe
btrfs: use SECTOR_SHIFT to convert physical offset to LBA

Use SECTOR_SHIFT while converting a physical address to an LBA, makes
it more readable.

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/check-integrity.c
fs/btrfs/compression.c
fs/btrfs/extent-tree.c
fs/btrfs/inode.c
fs/btrfs/raid56.c