[PATCH 4.14 17/43] cifs: Check the IOCB_DIRECT flag, not O_DIRECT