Init file_cache to invalid (maj, min)
authorLuis Useche <useche@google.com>
Wed, 15 Jun 2022 22:44:54 +0000 (15:44 -0700)
committerLuis Useche <useche@google.com>
Thu, 16 Jun 2022 00:02:01 +0000 (17:02 -0700)
commit2fe71558c9718e88f6a1f243f2de0560e0c44aa0
tree4060596641038f1a9c31f0a3fa47de7684880b1e
parent2b82135e42fc5872338ee16e16d317b16abfe308
Init file_cache to invalid (maj, min)

In the very unlikely case that the trace was taken from a device with
major and minor zeroes, the cache will wrongly hit the first time. We
are hitting this problem when trying to replay generated traces with
major and minor zeroes. Initializing with ~0U fixes this problem.

Signed-off-by: Luis Useche <useche@gmail.com>
blktrace.c