diff options
| author | Dan Engelbrecht <[email protected]> | 2022-04-12 14:15:37 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2022-04-12 14:16:34 +0200 |
| commit | 7947f31d84e1b45f9b777095b3f32339b89a19b9 (patch) | |
| tree | 2e2cf0569a2ec14e6c90df482008e67dd75030ee /zenstore/gc.cpp | |
| parent | switch posix_fallocate to fallocate on MacOS (diff) | |
| download | zen-7947f31d84e1b45f9b777095b3f32339b89a19b9.tar.xz zen-7947f31d84e1b45f9b777095b3f32339b89a19b9.zip | |
remove fallocate on MacOS
Diffstat (limited to 'zenstore/gc.cpp')
| -rw-r--r-- | zenstore/gc.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/zenstore/gc.cpp b/zenstore/gc.cpp index 287dfb48a..856f9af02 100644 --- a/zenstore/gc.cpp +++ b/zenstore/gc.cpp @@ -123,11 +123,6 @@ namespace { { return MakeErrorCodeFromLastError(); } - int Error = posix_fallocate(Fd, 0, (off_t)Size); - if (Error) - { - return MakeErrorCode(Error); - } # else if (ftruncate64(Fd, (off64_t)Size) < 0) { |