commit | a62b940160d8125016e85046e68ae621c99e751f | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Fri Oct 03 16:31:08 2008 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Fri Oct 03 16:31:08 2008 -0400 |
tree | c26ebe1ccf229f829513e1fc85c8110928187e13 | |
parent | 30c43e2444c16afe3b2130f40ad273541bf3dc36 [diff] |
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: Chris Mason <chris.mason@oracle.com>