]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/ocfs2/ocfs2.h
ocfs2: Switch over to JBD2.
[net-next-2.6.git] / fs / ocfs2 / ocfs2.h
index 78ae4f87e6b034a2c65cfc45238932f73d22ab3f..a21a465490c40d0ee0ef3fc3d554d9f2196bdac2 100644 (file)
 #include <linux/workqueue.h>
 #include <linux/kref.h>
 #include <linux/mutex.h>
-#include <linux/jbd.h>
+#ifndef CONFIG_OCFS2_COMPAT_JBD
+# include <linux/jbd2.h>
+#else
+# include <linux/jbd.h>
+# include "ocfs2_jbd_compat.h"
+#endif
 
 /* For union ocfs2_dlm_lksb */
 #include "stackglue.h"