[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)
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>

No differences found