diff options
Diffstat (limited to 'fs/xfs/xfs_sb.h')
-rw-r--r-- | fs/xfs/xfs_sb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_sb.h b/fs/xfs/xfs_sb.h index 57f6ba13d19f..a6a76f41aad2 100644 --- a/fs/xfs/xfs_sb.h +++ b/fs/xfs/xfs_sb.h | |||
@@ -468,11 +468,13 @@ static inline void xfs_sb_version_addattr2(struct xfs_sb *sbp) | |||
468 | { | 468 | { |
469 | sbp->sb_versionnum |= XFS_SB_VERSION_MOREBITSBIT; | 469 | sbp->sb_versionnum |= XFS_SB_VERSION_MOREBITSBIT; |
470 | sbp->sb_features2 |= XFS_SB_VERSION2_ATTR2BIT; | 470 | sbp->sb_features2 |= XFS_SB_VERSION2_ATTR2BIT; |
471 | sbp->sb_bad_features2 |= XFS_SB_VERSION2_ATTR2BIT; | ||
471 | } | 472 | } |
472 | 473 | ||
473 | static inline void xfs_sb_version_removeattr2(struct xfs_sb *sbp) | 474 | static inline void xfs_sb_version_removeattr2(struct xfs_sb *sbp) |
474 | { | 475 | { |
475 | sbp->sb_features2 &= ~XFS_SB_VERSION2_ATTR2BIT; | 476 | sbp->sb_features2 &= ~XFS_SB_VERSION2_ATTR2BIT; |
477 | sbp->sb_bad_features2 &= ~XFS_SB_VERSION2_ATTR2BIT; | ||
476 | if (!sbp->sb_features2) | 478 | if (!sbp->sb_features2) |
477 | sbp->sb_versionnum &= ~XFS_SB_VERSION_MOREBITSBIT; | 479 | sbp->sb_versionnum &= ~XFS_SB_VERSION_MOREBITSBIT; |
478 | } | 480 | } |