[Ocfs2-tools-devel] Patch: Add OCFS_SB for ocfs2-tools
tao.ma
tao.ma at oracle.com
Mon Dec 11 01:27:12 PST 2006
In order to use macro OCFS2_HAS_COMPAT_FEATURE in ocfs2-tools, we must
add OCFS2_SB in it. Add this macro in ocfs2.h, the same file as the kernel.
-------------- next part --------------
Index: libocfs2/include/ocfs2.h
===================================================================
--- libocfs2/include/ocfs2.h (revision 1277)
+++ libocfs2/include/ocfs2.h (working copy)
@@ -82,6 +82,9 @@
#define OCFS2_LIB_FEATURE_COMPAT_SUPP OCFS2_FEATURE_COMPAT_SUPP
+/* define OCFS2_SB for ocfs2-tools */
+#define OCFS2_SB
+
/* Flags for the ocfs2_filesys structure */
#define OCFS2_FLAG_RO 0x00
#define OCFS2_FLAG_RW 0x01
More information about the Ocfs2-tools-devel
mailing list