UPSTREAM: cifs: Check the IOCB_DIRECT flag, not O_DIRECT
[ Upstream commit 994fd530 ] Use the IOCB_DIRECT indicator flag on the I/O context rather than checking to see if the file was opened O_DIRECT. Signed-off-by:David Howells <dhowells@redhat.com> cc: Steve French <sfrench@samba.org> cc: Shyam Prasad N <nspmangalore@gmail.com> cc: Rohith Surabattula <rohiths.msft@gmail.com> cc: linux-cifs@vger.kernel.org Signed-off-by:
Steve French <stfrench@microsoft.com> Signed-off-by:
Sasha Levin <sashal@kernel.org> (cherry picked from commit 7c48a6e6) Signed-off-by:
Greg Kroah-Hartman <gregkh@google.com> Change-Id: I37d1ff596eadca3a665148189efe51c692f43cca
Loading
Please sign in to comment