cifs: Allow using O_DIRECT with cache=loose
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Wed, 2 Dec 2015 14:46:07 +0000 (14:46 +0000)
committerSteve French <sfrench@localhost.localdomain>
Thu, 14 Jan 2016 20:29:34 +0000 (14:29 -0600)
commit882137c4d64175e2bb38cd842e25d54e6de31da8
tree1cc5ca4e04c95570e62c0a008dd16600ec9fe2d6
parentadfeb3e00e8e1b9fb4ad19eb7367e7c272d16003
cifs: Allow using O_DIRECT with cache=loose

Currently O_DIRECT is supported with cache=none and cache=strict, but
not cache=loose. Add support for using O_DIRECT when mounted with
cache=loose.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsfs.c