Fix the mac host build of e2fsprogs

Mac OS doesn't support the O_DIRECT flag, so use the F_NOCACHE
option of fcntl() instead.  Fix taken from the libext2 project
on soruceforge.

Change-Id: I1e88a95e53f1bbbd8dbcfc7aa43a27443dfd6807
1 file changed