summaryrefslogtreecommitdiff
path: root/src/rmd_cache.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-11-09 14:45:57 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-11-09 14:45:57 -0800
commitcca2f79dfeb492926bd41619bd2ef931f77d00da (patch)
treea6e6e7d29b11b05ea3884e6494a816228ba18b6d /src/rmd_cache.c
parent42904eef310313eeed6f8d91d5306488fd016d2e (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
© All Rights Reserved