Whamcloud - gitweb
I touched one thing in lustre_mds.h, and I was dismayed to see the
authorphil <phil>
Fri, 14 Nov 2003 09:24:33 +0000 (09:24 +0000)
committerphil <phil>
Fri, 14 Nov 2003 09:24:33 +0000 (09:24 +0000)
entire source tree rebuild!

It took just a few minutes to remove a number of #includes which
violated all manner of abstraction boundary.  ericm assures me that I
have not broken anything major in liblustre.

Also, I moved a good chunk of inline functions into llite_internal.h
(which is where I secretly believe that most of lustre_lite.h will end up),
and renamed ll_ino2fid (which no longer takes an inode) to mdc_pack_fid.

lustre/mdc/mdc_locks.c
lustre/obdclass/llog_test.c
lustre/obdclass/obd_config.c

index 70b4b6a..91e6a77 100644 (file)
 # include <linux/init.h>
 #else
 # include <liblustre.h>
-# include <linux/obd_class.h>
 #endif
 
+#include <linux/obd_class.h>
 #include <linux/lustre_mds.h>
-#include <linux/lustre_lite.h>
 #include <linux/lustre_dlm.h>
 #include <linux/lprocfs_status.h>
 #include "mdc_internal.h"
index 4b1dfbb..319f777 100644 (file)
@@ -32,6 +32,7 @@
 
 #include <linux/obd_class.h>
 #include <linux/lustre_log.h>
+#include <linux/lustre_mds.h> /* for LUSTRE_MDC_NAME */
 
 static int llog_test_rand;
 static struct obd_uuid uuid = { .uuid = "test_uuid" };
index e52effc..d8e21be 100644 (file)
@@ -35,6 +35,7 @@
 #include <linux/obd_class.h>
 #include <linux/obd.h>
 #endif
+#include <linux/lustre_log.h>
 #include <linux/lprocfs_status.h>
 #include <portals/list.h>