discover/parser: Add new parser_is_unique
authorGeoff Levand <geoff@infradead.org>
Thu, 2 Aug 2018 17:29:34 +0000 (17:29 +0000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 7 Aug 2018 01:30:36 +0000 (11:30 +1000)
commite38a41e8478093acd67d86c5dba4492370004500
treeafc953acdae42c5c2f202c130cde8eab1e8107e5
parent70a58a78c951403ae67c44c839caf0e77d0d84db
discover/parser: Add new parser_is_unique

Add a new routine parser_is_unique that tests a file's inode
against a list of known file inodes.  Useful when searching
case-insensitive filesystems.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/parser.c
discover/parser.h