aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorOGAWA Hirofumi <[email protected]>2008-11-06 20:53:57 +0000
committerLinus Torvalds <[email protected]>2008-11-06 23:41:21 +0000
commit9ca59f4c3d28df14a1545a1e2832f34a0a50e3ed (patch)
tree4a9d307e2a3541765cf194f27d873c6d06e5d960 /net/unix/af_unix.c
parentfat: mmu_private race fix (diff)
downloadkernel-9ca59f4c3d28df14a1545a1e2832f34a0a50e3ed.tar.gz
kernel-9ca59f4c3d28df14a1545a1e2832f34a0a50e3ed.zip
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions