Message ID | 171270970091.3631889.3723065069358160559.stgit@frogsfrogsfrogs (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | [01/32] xfs: rearrange xfs_attr_match parameters | expand |
On Tue, Apr 09, 2024 at 06:01:51PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@kernel.org> > > Add parent pointers to the list of supported features. Any reason to split this from actually adding the feature bit? Otherwise looks good: Reviewed-by: Christoph Hellwig <hch@lst.de>
On Tue, Apr 09, 2024 at 11:06:33PM -0700, Christoph Hellwig wrote: > On Tue, Apr 09, 2024 at 06:01:51PM -0700, Darrick J. Wong wrote: > > From: Darrick J. Wong <djwong@kernel.org> > > > > Add parent pointers to the list of supported features. > > Any reason to split this from actually adding the feature bit? Bisection. If we don't add the bit to XFS_SB_FEAT_INCOMPAT_ALL, then the kernel won't mount the filesystem. Nowadays I think we could define the xfs_has_foo helpers at the start and only add the superblock feature bit and the code that sets XFS_FEAT_FOO in the final patch. BUuut.... this patchset predates the xfs_has_foo helpers and I haven't fully adjusted to that yet. > Otherwise looks good: > > Reviewed-by: Christoph Hellwig <hch@lst.de> Thanks! --D
diff --git a/fs/xfs/libxfs/xfs_format.h b/fs/xfs/libxfs/xfs_format.h index b457e457e1f71..61f51becff4f7 100644 --- a/fs/xfs/libxfs/xfs_format.h +++ b/fs/xfs/libxfs/xfs_format.h @@ -382,7 +382,8 @@ xfs_sb_has_ro_compat_feature( XFS_SB_FEAT_INCOMPAT_BIGTIME | \ XFS_SB_FEAT_INCOMPAT_NEEDSREPAIR | \ XFS_SB_FEAT_INCOMPAT_NREXT64 | \ - XFS_SB_FEAT_INCOMPAT_EXCHRANGE) + XFS_SB_FEAT_INCOMPAT_EXCHRANGE | \ + XFS_SB_FEAT_INCOMPAT_PARENT) #define XFS_SB_FEAT_INCOMPAT_UNKNOWN ~XFS_SB_FEAT_INCOMPAT_ALL static inline bool