Whamcloud - gitweb
libext2fs: support O_DIRECT functionality for Mac OS X
authorTheodore Ts'o <tytso@mit.edu>
Tue, 21 Feb 2012 01:45:52 +0000 (20:45 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 21 Feb 2012 01:45:52 +0000 (20:45 -0500)
commitd9a5d37535794842358e1cfe4faa4a89804ed209
tree1d30ed8db88293fd535ba632f444ec7ff662a07d
parent48b89108202172268dd4a12645bece26c51d56fa
libext2fs: support O_DIRECT functionality for Mac OS X

Darwin uses fcntl(fd, F_NOCACHE, 1) instead of the O_DIRECT flag.

Addresses-SourceForge-Bug: #3140289

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/unix_io.c