summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent-tree.c
diff options
context:
space:
mode:
authorDavid Sterba2017-10-04 17:30:11 +0200
committerDavid Sterba2017-10-30 12:28:00 +0100
commit6273b7f8ed78d1acc3db6774b9ab07f04115f520 (patch)
treea57911d77aab1c9c675ca0fe9916b0ae477b8bf2 /fs/btrfs/extent-tree.c
parentbtrfs: rename page offset parameter in submit_extent_page (diff)
downloadkernel-qcow2-linux-6273b7f8ed78d1acc3db6774b9ab07f04115f520.tar.gz
kernel-qcow2-linux-6273b7f8ed78d1acc3db6774b9ab07f04115f520.tar.xz
kernel-qcow2-linux-6273b7f8ed78d1acc3db6774b9ab07f04115f520.zip
btrfs: get rid of sector_t and use u64 offset in submit_extent_page
The use of sector_t in the callchain of submit_extent_page is not necessary. Switch to u64 and rename the variable and use byte units instead of 512b, ie. dropping the >> 9 shifts and avoiding the con(tro)versions of sector_t. Reviewed-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
0 files changed, 0 insertions, 0 deletions