diff options
author | Brian Foster <bfoster@redhat.com> | 2015-05-29 01:26:33 +0200 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2015-05-29 01:26:33 +0200 |
commit | 22ce1e1472fda6ce740cee966bb8e25a3cc662bd (patch) | |
tree | 2f238b44757aa9315837912d70a860885072abe7 /fs/xfs | |
parent | xfs: skip unallocated regions of inode chunks in xfs_ifree_cluster() (diff) | |
download | linux-22ce1e1472fda6ce740cee966bb8e25a3cc662bd.tar.xz linux-22ce1e1472fda6ce740cee966bb8e25a3cc662bd.zip |
xfs: enable sparse inode chunks for v5 superblocks
Enable mounting of filesystems with sparse inode support enabled. Add
the incompat. feature bit to the *_ALL mask.
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r-- | fs/xfs/libxfs/xfs_format.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_format.h b/fs/xfs/libxfs/xfs_format.h index afc583451873..5ccc891cdd1a 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 |