From bb4f07152036dbcdd3744bc85b2aef9c83b39849 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 13 Feb 2012 15:10:55 +0100 Subject: [PATCH] lib/fsprobe: mar this internal API as deprecated The fsprobe has been added many years ago to provide unified API for - built-in libblkid - e2fsprogs libblkid - udev libvolume_id these all is unnecessary as we strictly depends on built-in libblkid. Signed-off-by: Karel Zak --- include/fsprobe.h | 2 ++ lib/fsprobe.c | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/include/fsprobe.h b/include/fsprobe.h index 9e2bf50f74..d9c1dc494c 100644 --- a/include/fsprobe.h +++ b/include/fsprobe.h @@ -1,6 +1,8 @@ #ifndef FSPROBE_H #define FSPROBE_H /* + * THIS IS DEPRECATED -- use blkid_evaluate_* API rather than this extra layer + * * This is the generic interface for filesystem guessing libraries. * Implementations are provided by */ diff --git a/lib/fsprobe.c b/lib/fsprobe.c index 5a173e6420..1cfc975c6a 100644 --- a/lib/fsprobe.c +++ b/lib/fsprobe.c @@ -14,6 +14,11 @@ #include "pathnames.h" #include "fsprobe.h" +/* + * THIS IS DEPRECATED -- use blkid_evaluate_* API rather than this extra layer + */ + + static blkid_cache blcache; static blkid_probe blprobe; -- 2.47.3