Whamcloud - gitweb
LU-7117 osp: set ptlrpc_request::rq_allow_replay properly
[fs/lustre-release.git] / lustre / utils / lustreapi_internal.h
index 00a66e3..cff4860 100644 (file)
@@ -35,7 +35,7 @@
 #ifndef _LUSTREAPI_INTERNAL_H_
 #define _LUSTREAPI_INTERNAL_H_
 
-#include <glob.h>
+#include <libcfs/util/param.h>
 #include <uapi_kernelcomm.h>
 
 #define WANT_PATH   0x1
 #define WANT_FD     0x4
 #define WANT_INDEX  0x8
 #define WANT_ERROR  0x10
+
+/* mount point listings in /proc/mounts */
+#ifndef PROC_MOUNTS
+#define PROC_MOUNTS "/proc/mounts"
+#endif
+
 int get_root_path(int want, char *fsname, int *outfd, char *path, int index);
 int root_ioctl(const char *mdtname, int opc, void *data, int *mdtidxp,
               int want_error);
@@ -59,6 +65,7 @@ int root_ioctl(const char *mdtname, int opc, void *data, int *mdtidxp,
  *                   path as is.
  */
 enum param_filter {
+       FILTER_BY_NONE,
        FILTER_BY_EXACT,
        FILTER_BY_FS_NAME,
        FILTER_BY_PATH
@@ -121,5 +128,4 @@ int libcfs_ukuc_stop(struct lustre_kernelcomm *l);
 int libcfs_ukuc_get_rfd(struct lustre_kernelcomm *link);
 int libcfs_ukuc_msg_get(struct lustre_kernelcomm *l, char *buf, int maxsize,
                        int transport);
-
 #endif /* _LUSTREAPI_INTERNAL_H_ */