summaryrefslogtreecommitdiffstats
path: root/fs/fat/fat.h
diff options
context:
space:
mode:
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2008-11-06 21:53:56 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-07 00:41:21 +0100
commitfa93ca18a8b0da4e26bd9491ad144cd14d22f8ec (patch)
tree2950aa2baa218493329873a61aa234c7fcc5d83e /fs/fat/fat.h
parentfat: Fix ATTR_RO for directory (diff)
downloadlinux-fa93ca18a8b0da4e26bd9491ad144cd14d22f8ec.tar.xz
linux-fa93ca18a8b0da4e26bd9491ad144cd14d22f8ec.zip
fat: Fix _fat_bmap() race
fat_get_cluster() assumes the requested blocknr isn't truncated during read. _fat_bmap() doesn't follow this rule. This protects it by ->i_mutex. 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 'fs/fat/fat.h')
0 files changed, 0 insertions, 0 deletions