commit | 7719e69a5c3308f383babb9abde7cf60ebec0027 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sat Sep 05 22:18:29 2015 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat Sep 05 22:18:29 2015 -0400 |
tree | fd1f7a04afca8ca5ba8f51fcea55376614b230bc | |
parent | e695c12892d0de5e6a3087fffb532e68e0b02242 [diff] |
e4defrag: fix build failure if libc doesn't have sync_file_range() The posix_fadvise() to hint to the system that the file can be removed from memory will probably not work well without the sync_file_range(2) call, but e4defrag should still fundamentally work, and this will allow e4defrag to compile if the C library doesn't happen this system call exposed. Signed-off-by: Theodore Ts'o <tytso@mit.edu>