summaryrefslogtreecommitdiffstats
path: root/drivers/spi/atmel_spi.h
diff options
context:
space:
mode:
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2008-11-06 21:53:57 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-07 00:41:21 +0100
commit2bdf67eb1631f30e2f3f5d49e4007c76e88877a8 (patch)
treed3d337e52516b3b61cdf4508cf445ef8dcaae2ed /drivers/spi/atmel_spi.h
parentfat: Add printf attribute to fat_fs_panic() (diff)
downloadlinux-2bdf67eb1631f30e2f3f5d49e4007c76e88877a8.tar.xz
linux-2bdf67eb1631f30e2f3f5d49e4007c76e88877a8.zip
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>
Diffstat (limited to 'drivers/spi/atmel_spi.h')
0 files changed, 0 insertions, 0 deletions