]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ocfs2/stackglue.h
ocfs2: Use global DLM_ constants in generic code.
[linux-2.6-omap-h63xx.git] / fs / ocfs2 / stackglue.h
index 40a0024134043f3379eea53c4691d396f642269c..986d059ed1e06ae7a48eeb38580f5fd898cba66c 100644 (file)
 #ifndef STACKGLUE_H
 #define STACKGLUE_H
 
+#include <linux/types.h>
+#include <linux/list.h>
+#include <linux/dlmconstants.h>
+
+/*
+ * dlmconstants.h does not have a LOCAL flag.  We hope to remove it
+ * some day, but right now we need it.  Let's fake it.  This value is larger
+ * than any flag in dlmconstants.h.
+ */
+#define DLM_LKF_LOCAL          0x00100000
+
+#include "dlm/dlmapi.h"
+
 struct ocfs2_locking_protocol {
        void (*lp_lock_ast)(void *astarg);
        void (*lp_blocking_ast)(void *astarg, int level);