From: Pavel Shilovsky Date: Mon, 24 Dec 2012 10:41:19 +0000 (+0400) Subject: CIFS: Don't let read only caching for mandatory byte-range locked files X-Git-Tag: v3.8-rc3~10^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63b7d3a41ccadef971a4ffbe6662119d4275ebf9;p=pandora-kernel.git CIFS: Don't let read only caching for mandatory byte-range locked files If we have mandatory byte-range locks on a file we can't cache reads because pagereading may have conflicts with these locks on the server. That's why we should allow level2 oplocks for files without mandatory locks only. Signed-off-by: Pavel Shilovsky Acked-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed