From: OGAWA Hirofumi Date: Thu, 6 Nov 2008 20:53:57 +0000 (-0800) Subject: fat: ->i_pos race fix X-Git-Tag: v2.6.28-rc4~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ca59f4c3d28df14a1545a1e2832f34a0a50e3ed;p=pandora-kernel.git fat: ->i_pos race fix i_pos is 64bits value, hence it's not atomic to update. Important place is fat_write_inode() only, other places without lock are just for printk(). This adds lock for "BITS_PER_LONG == 32" kernel. Signed-off-by: OGAWA Hirofumi Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed