Skip to content

Commit a977218

Browse files
Joel BeckerMark Fasheh
authored andcommitted
ocfs2: Add JBD2 compat feature bit.
Define the OCFS2_FEATURE_COMPAT_JBD2 bit in the filesystem header. Signed-off-by: Joel Becker <[email protected]> Signed-off-by: Mark Fasheh <[email protected]>
1 parent 83099bc commit a977218

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

fs/ocfs2/ocfs2_fs.h

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@
8686
#define OCFS2_CLEAR_INCOMPAT_FEATURE(sb,mask) \
8787
OCFS2_SB(sb)->s_feature_incompat &= ~(mask)
8888

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)
9091
#define OCFS2_FEATURE_INCOMPAT_SUPP (OCFS2_FEATURE_INCOMPAT_LOCAL_MOUNT \
9192
| OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC \
9293
| OCFS2_FEATURE_INCOMPAT_INLINE_DATA \
@@ -152,6 +153,11 @@
152153
*/
153154
#define OCFS2_FEATURE_COMPAT_BACKUP_SB 0x0001
154155

156+
/*
157+
* The filesystem will correctly handle journal feature bits.
158+
*/
159+
#define OCFS2_FEATURE_COMPAT_JBD2_SB 0x0002
160+
155161
/*
156162
* Unwritten extents support.
157163
*/

0 commit comments

Comments
 (0)