Luca...thanks for the bug report and analysis. I've been able toreproduce this too against 3.3.2. The attached patch reverts the openwith lookup intent functionality that was added at the beginning of the2.6.30 cycle. This fixes the problem for me.

Steve and Shirish...given that we've already seen a couple ofregressions from these patches, I'd like to see them reverted untilthey have been better tested.

- /* want handles we can use to read with first- in the list so we do not have to walk the- list to search for one in write_begin */- if ((file->f_flags & O_ACCMODE) == O_WRONLY) {- list_add_tail(&pCifsFile->flist,- &pCifsInode->openFileList);- } else {- list_add(&pCifsFile->flist,- &pCifsInode->openFileList);- }- if (pCifsInode->clientCanCacheRead) { /* we have the inode open somewhere else no need to discard cache data */-- 1.6.0.6