Commits
![Pavel Shilovsky](https://secure.gravatar.com/avatar/ba92f8c416264bcf73f3cee218fa58d7.jpg?s=96&d=mm)
Pavel Shilovsky committed 63b7d3a41cc
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 <piastry@etersoft.ru> Acked-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>