diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-11-09 14:45:57 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-11-09 14:45:57 -0800 |
commit | cca2f79dfeb492926bd41619bd2ef931f77d00da (patch) | |
tree | a6e6e7d29b11b05ea3884e6494a816228ba18b6d /src/rmd_cache.c | |
parent | 42904eef310313eeed6f8d91d5306488fd016d2e (diff) |
load_cache: treat invalid frame header as EOF
In preparation for posix_fallocate() pre-allocation of cache
files, expect zeroes for the header when running off the end of
valid data into the only allocated space, and handle gracefully
as an EOF equivalent.
Diffstat (limited to 'src/rmd_cache.c')
0 files changed, 0 insertions, 0 deletions