summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-10-03 22:31:08 +0200
committerChris Mason <chris.mason@oracle.com>2008-10-03 22:31:08 +0200
commita62b940160d8125016e85046e68ae621c99e751f (patch)
treec26ebe1ccf229f829513e1fc85c8110928187e13 /fs/btrfs/file.c
parentBtrfs: remove last_log_alloc allocator optimization (diff)
downloadlinux-a62b940160d8125016e85046e68ae621c99e751f.tar.xz
linux-a62b940160d8125016e85046e68ae621c99e751f.zip
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>
Diffstat (limited to 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions