From: Pavel Shilovsky Date: Wed, 19 Sep 2012 13:22:45 +0000 (-0700) Subject: CIFS: Fix cache coherency for read oplock case X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~66^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25078105fbe14e7b3270391eaa11514bec787a52;p=pandora-kernel.git CIFS: Fix cache coherency for read oplock case When we have a file opened with read oplock and we are writing a data to this file, we need to store the data in the cache and then send to the server to ensure that the next read operation will get a coherent data. Also mark it as CONFIG_CIFS_SMB2 because it's more suitable for SMB2 code but can fix some CIFS problems too (when server delays sending an oplock break after a write request). We can drop this ifdefs dependence in future. Signed-off-by: Pavel Shilovsky Signed-off-by: Steve French --- Reading git-diff-tree failed