linux/fs/fat
OGAWA Hirofumi 98283bb49c fat: Fix the race of read/write the FAT12 entry
FAT12 entry is 12bits, so it needs 2 phase to update the value.  And
writer and reader access it without any lock, so reader can get the
half updated value.

This fixes the long standing race condition by adding a global
spinlock to only FAT12 for avoiding any impact against FAT16/32.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-16 10:31:01 -07:00
..
cache.c Remove SLAB_CTOR_CONSTRUCTOR 2007-05-17 05:23:04 -07:00
dir.c fat: gcc 4.3 warning fix 2007-07-16 09:05:42 -07:00
fatent.c fat: Fix the race of read/write the FAT12 entry 2007-07-16 10:31:01 -07:00
file.c sendfile: remove .sendfile from filesystems that use generic_file_sendfile() 2007-07-10 08:04:13 +02:00
inode.c fat: gcc 4.3 warning fix 2007-07-16 09:05:42 -07:00
Makefile
misc.c [PATCH] fs/fat/misc.c: unexport fat_sync_bhs 2006-06-23 07:43:03 -07:00