From: Karel Zak Date: Mon, 13 Feb 2012 14:10:55 +0000 (+0100) Subject: lib/fsprobe: mar this internal API as deprecated X-Git-Tag: v2.21~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb4f07152036dbcdd3744bc85b2aef9c83b39849;p=thirdparty%2Futil-linux.git 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 --- 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;