Please sign in to comment.
added errno.EINVAL check to fallocate
On some systems (eg Illumos), posix_fallocate() returns EINVAL when the underlying filesystem doesn't support the operation. On Linux, the fallocate() call returns EOPNOTSUPP. The need for this patch was revealed by Victor Rodionov <email@example.com>. Change-Id: I06fa9d49e7ec4084135843b7e0c91948dc098d27
- Loading branch information...