linux-stable-rt/fs/fat
OGAWA Hirofumi 9ca59f4c3d fat: ->i_pos race fix
i_pos is 64bits value, hence it's not atomic to update.

Important place is fat_write_inode() only, other places without lock
are just for printk().

This adds lock for "BITS_PER_LONG == 32" kernel.

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
..
Makefile fat: move fs/vfat/* and fs/msdos/* to fs/fat 2008-11-06 15:41:20 -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: ->i_pos race fix 2008-11-06 15:41:21 -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