| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH v6 18/18] xfs: enable sparse inode chunks for v5 superblocks |
| From: | Brian Foster <bfoster@xxxxxxxxxx> |
| Date: | Mon, 2 Mar 2015 08:28:08 -0500 |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <1425302888-4962-1-git-send-email-bfoster@xxxxxxxxxx> |
| References: | <1425302888-4962-1-git-send-email-bfoster@xxxxxxxxxx> |
Enable mounting of filesystems with sparse inode support enabled. Add the incompat. feature bit to the *_ALL mask. Signed-off-by: Brian Foster <bfoster@xxxxxxxxxx> --- fs/xfs/libxfs/xfs_format.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/xfs/libxfs/xfs_format.h b/fs/xfs/libxfs/xfs_format.h index afc5834..5ccc891 100644 --- a/fs/xfs/libxfs/xfs_format.h +++ b/fs/xfs/libxfs/xfs_format.h @@ -459,7 +459,8 @@ xfs_sb_has_ro_compat_feature( #define XFS_SB_FEAT_INCOMPAT_FTYPE (1 << 0) /* filetype in dirent */ #define XFS_SB_FEAT_INCOMPAT_SPINODES (1 << 1) /* sparse inode chunks */ #define XFS_SB_FEAT_INCOMPAT_ALL \ - (XFS_SB_FEAT_INCOMPAT_FTYPE) + (XFS_SB_FEAT_INCOMPAT_FTYPE| \ + XFS_SB_FEAT_INCOMPAT_SPINODES) #define XFS_SB_FEAT_INCOMPAT_UNKNOWN ~XFS_SB_FEAT_INCOMPAT_ALL static inline bool -- 1.9.3 |
| Previous by Date: | [PATCH v6 02/18] xfs: update free inode record logic to support sparse inode records, Brian Foster |
|---|---|
| Next by Date: | [PATCH v6 05/18] xfs: use sparse chunk alignment for min. inode allocation requirement, Brian Foster |
| Previous by Thread: | [PATCH v6 02/18] xfs: update free inode record logic to support sparse inode records, Brian Foster |
| Next by Thread: | [PATCH v6 05/18] xfs: use sparse chunk alignment for min. inode allocation requirement, Brian Foster |
| Indexes: | [Date] [Thread] [Top] [All Lists] |