linux/fs/fat
Andrew Morton 73f20e58b1 FAT_VALID_MEDIA(): remove pointless test
The on-disk media specification field in FAT is only 8-bits, so testing for
<=0xff is pointless, and can generate a "comparison is always true due to
limited range of data type" warning.

While we're there, convert FAT_VALID_MEDIA() into a C function - the present
implementation is buggy: it generates either one or two references to its
argument.

Cc: Frank Seidel <fseidel@suse.de>
Acked-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
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
inode.c FAT_VALID_MEDIA(): remove pointless test 2008-04-28 08:58:47 -07:00
Makefile
misc.c