From: Andrew Morton Date: Thu, 27 Jun 2013 23:53:44 +0000 (+1000) Subject: fat-additions-to-support-fat_fallocate-fix X-Git-Tag: next-20130628~3^2~132 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=93186a57a8af334a157c2f182de7dab231364576;p=karo-tx-linux.git fat-additions-to-support-fat_fallocate-fix fix min() warning Cc: Amit Sahrawat Cc: Namjae Jeon Cc: OGAWA Hirofumi Cc: Ravishankar N Reported-by: Wu Fengguang Signed-off-by: Andrew Morton --- diff --git a/fs/fat/inode.c b/fs/fat/inode.c index 99a76c274ff5..f49de9379bcd 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c @@ -162,7 +162,8 @@ static int fat_zero_falloc_area(struct file *file, int err; do { - unsigned offset, bytes; + unsigned offset; + size_t bytes; void *fsdata; offset = (curpos & (PAGE_CACHE_SIZE - 1));