Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a62b9401 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: cast bio->bi_sector to a u64 before shifting



On 32 bit machines without CONFIG_LBD, the bi_sector field is only 32 bits.
Btrfs needs to cast it before shifting up, or we end up doing IO into
the wrong place.

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 30c43e24
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment