git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfc209c
)
fat: Fix _fat_bmap() race
author
OGAWA Hirofumi
<hirofumi@mail.parknet.co.jp>
Thu, 6 Nov 2008 20:53:56 +0000
(12:53 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 6 Nov 2008 23:41:21 +0000
(15:41 -0800)
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>
No differences found