… | |
… | |
867 | if (!res || errno != ENOSYS) |
867 | if (!res || errno != ENOSYS) |
868 | return res; |
868 | return res; |
869 | #endif |
869 | #endif |
870 | |
870 | |
871 | /* even though we could play tricks with the flags, it's better to always |
871 | /* even though we could play tricks with the flags, it's better to always |
872 | * call fdatasync, as thta matches the expectation of it's users best */ |
872 | * call fdatasync, as that matches the expectation of its users best */ |
873 | return fdatasync (fd); |
873 | return fdatasync (fd); |
874 | } |
874 | } |
875 | |
875 | |
876 | #if !HAVE_READAHEAD |
876 | #if !HAVE_READAHEAD |
877 | # undef readahead |
877 | # undef readahead |