[CIFS] Fix locking problem around some cifs uses of i_size write
authorSteve French <sfrench@us.ibm.com>
Mon, 26 Feb 2007 16:46:11 +0000 (16:46 +0000)
committerSteve French <sfrench@us.ibm.com>
Mon, 26 Feb 2007 16:46:11 +0000 (16:46 +0000)
commit3677db10a635a39f63ea509f8f0056d95589ff90
tree5256a408110c91947d9b9543199003fb976948a8
parent9654640d0af8f2de40ff3807d3695109d3463f54
[CIFS] Fix locking problem around some cifs uses of i_size write

Could cause hangs on smp systems in i_size_read on a cifs inode
whose size has been previously simultaneously updated from
different processes.

Thanks to Brian Wang for some great testing/debugging on this
hard problem.

Fixes kernel bugzilla #7903

CC: Shirish Pargoankar <shirishp@us.ibm.com>
CC: Shaggy <shaggy@us.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/CHANGES
fs/cifs/file.c
fs/cifs/inode.c
fs/cifs/readdir.c