summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/async-thread.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-08-20 13:20:17 +0200
committerChris Mason <chris.mason@fusionio.com>2013-09-01 14:16:18 +0200
commitfce29364e58666ed05dab8a513d2366f31d132bf (patch)
treee50868ab91a0ba16d4c9d01d1a6ca76976f6db41 /fs/btrfs/async-thread.c
parentBtrfs: PAGE_CACHE_SIZE is already unsigned long (diff)
downloadlinux-fce29364e58666ed05dab8a513d2366f31d132bf.tar.xz
linux-fce29364e58666ed05dab8a513d2366f31d132bf.zip
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 <geert@linux-m68k.org> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions