Support device/file images if O_DIRECT cannot be used (1.5.1).
authorMilan Broz <gmazyland@gmail.com>
Sat, 29 Dec 2012 14:29:43 +0000 (15:29 +0100)
committerMilan Broz <gmazyland@gmail.com>
Sat, 29 Dec 2012 14:33:20 +0000 (15:33 +0100)
commit6190ad928d4ff0500ed04b4a39e25d4c9bc336f2
treee792ca606393ecaddc622afa68072a71ca45bd85
parent0451e1c23a556fd7bee67b5646f77d8c08a069dd
Support device/file images if O_DIRECT cannot be used (1.5.1).

On some filesystems (like tmpfs) O_DIRECT cannot be used.
So just try to open device without O_DIRECT in the second try.
lib/internal.h
lib/luks1/keymanage.c
lib/tcrypt/tcrypt.c
lib/utils_device.c
lib/utils_wipe.c
lib/verity/verity.c