util/disk_cache: add support for detecting corrupt cache entries
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 24 Feb 2017 04:14:56 +0000 (15:14 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 3 Mar 2017 01:09:08 +0000 (12:09 +1100)
commit5afde6175219bb6ec45f49aba2bde813e8d6231a
tree6b0c6ba9834d3c4e669057c875fb813c9e28e601
parent9fc86d4f53a66a147f38f54b09629372bd085658
util/disk_cache: add support for detecting corrupt cache entries

V2: fix pointer increments for writing/reading crc

Acked-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Grigori Goronzy <greg@chown.ath.cx>
src/util/disk_cache.c