commit | fa93ca18a8b0da4e26bd9491ad144cd14d22f8ec | [log] [tgz] |
---|---|---|
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | Thu Nov 06 12:53:56 2008 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Nov 06 15:41:21 2008 -0800 |
tree | 2950aa2baa218493329873a61aa234c7fcc5d83e | |
parent | dfc209c0064efef5590f608056a48b61a5cac09c [diff] |
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>