ocfs2: Add JBD2 compat feature bit.

Define the OCFS2_FEATURE_COMPAT_JBD2 bit in the filesystem header.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>

authored by Joel Becker and committed by Mark Fasheh a9772189 83099bc6

+7 -1
+7 -1
fs/ocfs2/ocfs2_fs.h
··· 86 86 #define OCFS2_CLEAR_INCOMPAT_FEATURE(sb,mask) \ 87 87 OCFS2_SB(sb)->s_feature_incompat &= ~(mask) 88 88 89 - #define OCFS2_FEATURE_COMPAT_SUPP OCFS2_FEATURE_COMPAT_BACKUP_SB 89 + #define OCFS2_FEATURE_COMPAT_SUPP (OCFS2_FEATURE_COMPAT_BACKUP_SB \ 90 + | OCFS2_FEATURE_COMPAT_JBD2_SB) 90 91 #define OCFS2_FEATURE_INCOMPAT_SUPP (OCFS2_FEATURE_INCOMPAT_LOCAL_MOUNT \ 91 92 | OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC \ 92 93 | OCFS2_FEATURE_INCOMPAT_INLINE_DATA \ ··· 152 151 * has backup superblocks. 153 152 */ 154 153 #define OCFS2_FEATURE_COMPAT_BACKUP_SB 0x0001 154 + 155 + /* 156 + * The filesystem will correctly handle journal feature bits. 157 + */ 158 + #define OCFS2_FEATURE_COMPAT_JBD2_SB 0x0002 155 159 156 160 /* 157 161 * Unwritten extents support.