Open jmakovicka opened 3 years ago
Call ftruncate() after fallocate() to ensure the file gets shrunk if needed.
Open the files queued for resizing in writable mode to allow fixing the files with a wrong size later.
Call ftruncate() after fallocate() to ensure the file gets shrunk if needed.
Open the files queued for resizing in writable mode to allow fixing the files with a wrong size later.