]> Git Repo - linux.git/commit
fat: fix non-atomic NFS i_pos read
authorSteven J. Magnani <[email protected]>
Wed, 11 Jul 2012 21:02:42 +0000 (14:02 -0700)
committerLinus Torvalds <[email protected]>
Wed, 11 Jul 2012 23:04:47 +0000 (16:04 -0700)
commit5d8ecbbc284f7e7568969574a6601b05f1ed1d90
tree05c658069a610baaa0eeba8ed48e0689a191ec05
parentc46938d4f3ecadd609a06dae0d5b26a30274b338
fat: fix non-atomic NFS i_pos read

fat_encode_fh() can fetch an invalid i_pos value on systems where 64-bit
accesses are not atomic.  Make it use the same accessor as the rest of the
FAT code.

Signed-off-by: Steven J. Magnani <[email protected]>
Acked-by: OGAWA Hirofumi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/fat/inode.c
This page took 0.050124 seconds and 4 git commands to generate.