aha/fs/fat
OGAWA Hirofumi 2bdf67eb16 fat: mmu_private race fix
mmu_private is 64bits value, hence it's not atomic to update.

So, the access rule for mmu_private is we must hold ->i_mutex.  But,
fat_get_block() path doesn't follow the rule on non-allocation path.

This fixes by using i_size instead if non-allocation path.

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-11-06 15:41:21 -08:00
..
cache.c fat: mmu_private race fix 2008-11-06 15:41:21 -08:00
dir.c fat: mmu_private race fix 2008-11-06 15:41:21 -08:00
fat.h fat: mmu_private race fix 2008-11-06 15:41:21 -08:00
fatent.c fat: Fix fat_ent_update_ptr() for FAT12 2008-11-06 15:41:20 -08:00
file.c fat: Fix ATTR_RO for directory 2008-11-06 15:41:21 -08:00
inode.c fat: mmu_private race fix 2008-11-06 15:41:21 -08:00
Makefile fat: move fs/vfat/* and fs/msdos/* to fs/fat 2008-11-06 15:41:20 -08:00
misc.c fat: Fix and cleanup timestamp conversion 2008-11-06 15:41:20 -08:00
namei_msdos.c fat: Cleanup msdos_lookup() 2008-11-06 15:41:21 -08:00
namei_vfat.c fat: Kill d_invalidate() in vfat_lookup() 2008-11-06 15:41:21 -08:00