linux/fs/fat
Olof Johansson 9f354858b8 fatfs: fix build warning with 64k PAGE_SIZE
Annoying gcc warning:

fs/fat/inode.c: In function 'fat_fill_super':
fs/fat/inode.c:1222: warning: comparison is always false due to limited range of data type

Change it to compare with 4K instead of PAGE_CACHE_SIZE, as suggested
by OGAWA-san.

[FAT spec says: logical_sector_size should be 512, 1024, 2048 4096]
So, at least for now, we limit it to 4096.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 08:58:47 -07:00
..
cache.c Slab API: remove useless ctor parameter and reorder parameters 2007-10-17 08:42:45 -07:00
dir.c fat: use __getname() 2008-04-28 08:58:47 -07:00
fatent.c fat: Remove fat_clusters_flush() 2008-04-28 08:58:47 -07:00
file.c fat: Add allow_utime option 2008-04-28 08:58:47 -07:00
inode.c fatfs: fix build warning with 64k PAGE_SIZE 2008-04-28 08:58:47 -07:00
Makefile
misc.c FAT: Fix printk format strings 2008-02-06 10:41:02 -08:00