summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2007-07-16 02:40:05 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 19:31:01 +0200
commit98283bb49c6c8c070ebde9f47489d3e9a83c1323 (patch)
treef124325ac1768bee61b82e7689bc48ea102efe56 /mm
parentcpwatchdog build fix (diff)
downloadlinux-98283bb49c6c8c070ebde9f47489d3e9a83c1323.tar.xz
linux-98283bb49c6c8c070ebde9f47489d3e9a83c1323.zip
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>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions