summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Zak2012-02-13 15:10:55 +0100
committerKarel Zak2012-02-13 15:10:55 +0100
commitbb4f07152036dbcdd3744bc85b2aef9c83b39849 (patch)
treed69502d00c2a4b6e68d3300c4f881b3ca2f944c8
parentlogin: add LOGIN_RETRIES, cleanup retries check code (diff)
downloadkernel-qcow2-util-linux-bb4f07152036dbcdd3744bc85b2aef9c83b39849.tar.gz
kernel-qcow2-util-linux-bb4f07152036dbcdd3744bc85b2aef9c83b39849.tar.xz
kernel-qcow2-util-linux-bb4f07152036dbcdd3744bc85b2aef9c83b39849.zip
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 <kzak@redhat.com>
-rw-r--r--include/fsprobe.h2
-rw-r--r--lib/fsprobe.c5
2 files changed, 7 insertions, 0 deletions
diff --git a/include/fsprobe.h b/include/fsprobe.h
index 9e2bf50f7..d9c1dc494 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 5a173e642..1cfc975c6 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;