From: Geert Uytterhoeven Date: Tue, 20 Aug 2013 11:20:17 +0000 (+0200) Subject: Btrfs: Do not truncate sector_t on 32-bit with CONFIG_LBDAF=y X-Git-Tag: v3.12-rc1~40^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fce29364e58666ed05dab8a513d2366f31d132bf;p=pandora-kernel.git Btrfs: Do not truncate sector_t on 32-bit with CONFIG_LBDAF=y sector_t may be either "u64" (always 64 bit) or "unsigned long" (32 or 64 bit). Casting it to "unsigned long" will truncate it on 32-bit platforms where CONFIG_LBDAF=y. Cast to "unsigned long long" and format using "ll" instead. Signed-off-by: Geert Uytterhoeven Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed