wihout O_DIRECT, pipe2 call was never made, hence the rval was not updated, and still '0' from a previous call. Since it wasn't -1 pipe fallback wasn't called either. Assume pipe2 exists if O_DIRECT is defined. The previous fallback probably didn't work anyway since the ifdef was added later.
Signed-off-by: Andreas Fenkart andreas.fenkart@dev.digitalstrom.org