diff options
author | Jiri Olsa <jolsa@kernel.org> | 2015-09-02 03:56:44 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-09-14 11:50:15 -0400 |
commit | 60a1133a5b39738671eff1e4d77bedc1ee3fa528 (patch) | |
tree | 646ab3b3dc8c42950b19f27e0b0f99bdfbf75833 /tools/lib/api/fs/findfs.h | |
parent | 4605eab3487dc818b1f3cbee2cd139cca3564be7 (diff) |
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 <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Raphael Beamonte <raphael.beamonte@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1441180605-24737-15-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/api/fs/findfs.h')
-rw-r--r-- | tools/lib/api/fs/findfs.h | 23 |
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 @@ | |||
1 | #ifndef __API_FINDFS_H__ | ||
2 | #define __API_FINDFS_H__ | ||
3 | |||
4 | #include <stdbool.h> | ||
5 | |||
6 | #define _STR(x) #x | ||
7 | #define STR(x) _STR(x) | ||
8 | |||
9 | /* | ||
10 | * On most systems <limits.h> would have given us this, but not on some systems | ||
11 | * (e.g. GNU/Hurd). | ||
12 | */ | ||
13 | #ifndef PATH_MAX | ||
14 | #define PATH_MAX 4096 | ||
15 | #endif | ||
16 | |||
17 | const char *find_mountpoint(const char *fstype, long magic, | ||
18 | char *mountpoint, int len, | ||
19 | const char * const *known_mountpoints); | ||
20 | |||
21 | int valid_mountpoint(const char *mount, long magic); | ||
22 | |||
23 | #endif /* __API_FINDFS_H__ */ | ||