Commit ab5fcbb1 authored by David Sterba's avatar David Sterba
Browse files

btrfs: use pgoff_t for page index variables



Any conversion of offsets in the logical or the physical mapping space
of the pages is done by a shift and the target type should be pgoff_t
(type of struct page::index). Fix the locations where it's still
unsigned long.

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent afd1dacb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment