]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.25/patches.fixes/ocfs2-Add-JBD2-compat-feature-bit.patch
Reenabled linux-xen and xen-image build
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.fixes / ocfs2-Add-JBD2-compat-feature-bit.patch
CommitLineData
00e5a55c
BS
1From: Joel Becker <Joel.Becker@oracle.com>
2Date: Tue, 16 Dec 2008 18:10:18 -0800
3Subject: ocfs2: Add JBD2 compat feature bit.
4
5Define the OCFS2_FEATURE_COMPAT_JBD2 bit in the filesystem header.
6
7Signed-off-by: Joel Becker <joel.becker@oracle.com>
8Signed-off-by: Mark Fasheh <mfasheh@suse.com>
9---
10 fs/ocfs2/ocfs2_fs.h | 8 +++++++-
11 1 files changed, 7 insertions(+), 1 deletions(-)
12
13Index: linux-2.6.27-ocfs2/fs/ocfs2/ocfs2_fs.h
14===================================================================
15--- linux-2.6.27-ocfs2.orig/fs/ocfs2/ocfs2_fs.h
16+++ linux-2.6.27-ocfs2/fs/ocfs2/ocfs2_fs.h
17@@ -86,7 +86,8 @@
18 #define OCFS2_CLEAR_INCOMPAT_FEATURE(sb,mask) \
19 OCFS2_SB(sb)->s_feature_incompat &= ~(mask)
20
21-#define OCFS2_FEATURE_COMPAT_SUPP OCFS2_FEATURE_COMPAT_BACKUP_SB
22+#define OCFS2_FEATURE_COMPAT_SUPP (OCFS2_FEATURE_COMPAT_BACKUP_SB \
23+ | OCFS2_FEATURE_COMPAT_JBD2_SB)
24 #define OCFS2_FEATURE_INCOMPAT_SUPP (OCFS2_FEATURE_INCOMPAT_LOCAL_MOUNT \
25 | OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC \
26 | OCFS2_FEATURE_INCOMPAT_INLINE_DATA \
27@@ -153,6 +154,11 @@
28 #define OCFS2_FEATURE_COMPAT_BACKUP_SB 0x0001
29
30 /*
31+ * The filesystem will correctly handle journal feature bits.
32+ */
33+#define OCFS2_FEATURE_COMPAT_JBD2_SB 0x0002
34+
35+/*
36 * Unwritten extents support.
37 */
38 #define OCFS2_FEATURE_RO_COMPAT_UNWRITTEN 0x0001