In lustre/fid/ remove includes for liblustre builds.
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I609f8ad09ac4ea59fd48b5a7cb1d29c96d0359c9
Reviewed-on: http://review.whamcloud.com/10169
Tested-by: Jenkins
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
# Lustre is a trademark of Sun Microsystems, Inc.
#
-if LIBLUSTRE
-noinst_LIBRARIES = libfid.a
-libfid_a_SOURCES = fid_request.c fid_internal.h
-libfid_a_CPPFLAGS = $(LLCPPFLAGS)
-libfid_a_CFLAGS = $(LLCFLAGS)
-endif
-
if MODULES
modulefs_DATA = fid$(KMODEXT)
endif
#include <lustre/lustre_idl.h>
#include <libcfs/libcfs.h>
-#ifdef __KERNEL__
-# ifdef HAVE_SERVER_SUPPORT
-# define HAVE_SEQ_SERVER
+#ifdef HAVE_SERVER_SUPPORT
+# define HAVE_SEQ_SERVER
struct req_capsule;
extern struct lu_context_key seq_thread_key;
-# ifdef LPROCFS
+# ifdef LPROCFS
extern struct lprocfs_seq_vars seq_server_proc_list[];
-# endif
+# endif
/* Store API functions. */
struct dt_device;
extern struct lprocfs_seq_vars seq_client_proc_list[];
# endif
-#endif /* __KERNEL__ */
-
extern struct proc_dir_entry *seq_type_proc_dir;
#endif /* __FID_INTERNAL_H */
#define DEBUG_SUBSYSTEM S_FID
-#ifdef __KERNEL__
-# include <libcfs/libcfs.h>
-# include <linux/module.h>
-#else /* __KERNEL__ */
-# include <liblustre.h>
-#endif
-
+#include <linux/module.h>
+#include <libcfs/libcfs.h>
#include <obd.h>
#include <obd_class.h>
#include <obd_support.h>
}
EXPORT_SYMBOL(client_fid_fini);
-#ifdef __KERNEL__
struct proc_dir_entry *seq_type_proc_dir;
static int __init fid_mod_init(void)
MODULE_LICENSE("GPL");
cfs_module(fid, "0.1.0", fid_mod_init, fid_mod_exit);
-#endif /* __KERNEL__ */