]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: Don't check BLKID_PROBE_INTERVAL in blkid_verify
authorNikolay Borisov <nborisov@suse.com>
Mon, 13 May 2019 12:44:17 +0000 (15:44 +0300)
committerKarel Zak <kzak@redhat.com>
Tue, 14 May 2019 11:33:13 +0000 (13:33 +0200)
commit5de879b0f28574a1395e36a2b15b8fc6fd88ce35
treee10aa92a01d1b1ae3b50213e8ce35d89f0024d73
parent8c368dc6d3771d4655c953c42ff009f20d51de1f
libblkid: Don't check BLKID_PROBE_INTERVAL in blkid_verify

That constant is set to 200 seconds and is already check in probe_all().
It essentially controls how often blkid_probe_all can do a full cache
revalidation. Since blkid_verify is called from within probe_all() iff at least
BLKID_PROBE_INTERVAL seconds have elapsed it makes no sense to check this value
in blkid_verify.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
libblkid/src/verify.c