summaryrefslogtreecommitdiff
path: root/fs/gfs2/trace_gfs2.h
diff options
context:
space:
mode:
authorZach Brown <zab@zabbo.net>2012-09-20 20:33:00 (GMT)
committerChris Mason <chris.mason@fusionio.com>2012-10-09 13:15:39 (GMT)
commit221b831835421f9451182611fa25fa60f440662f (patch)
tree7f2420d6333849e9bd22646d2e44af9fa987bc04 /fs/gfs2/trace_gfs2.h
parent67b0fd63d5466bb710677afd3d2b77926c55f662 (diff)
downloadlinux-fsl-qoriq-221b831835421f9451182611fa25fa60f440662f.tar.xz
btrfs: fix min csum item size warnings in 32bit
commit 7ca4be45a0255ac8f08c05491c6add2dd87dd4f8 limited csum items to PAGE_CACHE_SIZE. It used min() with incompatible types in 32bit which generates warnings: fs/btrfs/file-item.c: In function ‘btrfs_csum_file_blocks’: fs/btrfs/file-item.c:717: warning: comparison of distinct pointer types lacks a cast This uses min_t(u32,) to fix the warnings. u32 seemed reasonable because btrfs_root->leafsize is u32 and PAGE_CACHE_SIZE is unsigned long. Signed-off-by: Zach Brown <zab@zabbo.net>
Diffstat (limited to 'fs/gfs2/trace_gfs2.h')
0 files changed, 0 insertions, 0 deletions