From: Chris Mason Date: Fri, 3 Oct 2008 20:31:08 +0000 (-0400) Subject: Btrfs: cast bio->bi_sector to a u64 before shifting X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a62b940160d8125016e85046e68ae621c99e751f;p=pandora-kernel.git 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 --- Reading git-diff-tree failed