aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fs/findfs.h
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2015-09-02 07:56:44 +0000
committerArnaldo Carvalho de Melo <[email protected]>2015-09-14 15:50:15 +0000
commit60a1133a5b39738671eff1e4d77bedc1ee3fa528 (patch)
tree646ab3b3dc8c42950b19f27e0b0f99bdfbf75833 /tools/lib/api/fs/findfs.h
parenttools lib api fs: Replace debugfs/tracefs objects interface with fs.c (diff)
downloadkernel-60a1133a5b39738671eff1e4d77bedc1ee3fa528.tar.gz
kernel-60a1133a5b39738671eff1e4d77bedc1ee3fa528.zip
tools lib api fs: Remove debugfs, tracefs and findfs objects
We have all the functionality in fs.c, let's remove unneeded objects. Signed-off-by: Jiri Olsa <[email protected]> Cc: David Ahern <[email protected]> Cc: Matt Fleming <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Raphael Beamonte <[email protected]> Cc: Steven Rostedt <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/findfs.h')
-rw-r--r--tools/lib/api/fs/findfs.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/tools/lib/api/fs/findfs.h b/tools/lib/api/fs/findfs.h
deleted file mode 100644
index b6f5d05acc42..000000000000
--- a/tools/lib/api/fs/findfs.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef __API_FINDFS_H__
-#define __API_FINDFS_H__
-
-#include <stdbool.h>
-
-#define _STR(x) #x
-#define STR(x) _STR(x)
-
-/*
- * On most systems <limits.h> would have given us this, but not on some systems
- * (e.g. GNU/Hurd).
- */
-#ifndef PATH_MAX
-#define PATH_MAX 4096
-#endif
-
-const char *find_mountpoint(const char *fstype, long magic,
- char *mountpoint, int len,
- const char * const *known_mountpoints);
-
-int valid_mountpoint(const char *mount, long magic);
-
-#endif /* __API_FINDFS_H__ */