xfs: add reflink feature flag to geometry
Report the reflink feature in the XFS geometry so that xfs_info and friends know the filesystem has this feature. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -108,7 +108,9 @@ xfs_fs_geometry(
|
||||
(xfs_sb_version_hassparseinodes(&mp->m_sb) ?
|
||||
XFS_FSOP_GEOM_FLAGS_SPINODES : 0) |
|
||||
(xfs_sb_version_hasrmapbt(&mp->m_sb) ?
|
||||
XFS_FSOP_GEOM_FLAGS_RMAPBT : 0);
|
||||
XFS_FSOP_GEOM_FLAGS_RMAPBT : 0) |
|
||||
(xfs_sb_version_hasreflink(&mp->m_sb) ?
|
||||
XFS_FSOP_GEOM_FLAGS_REFLINK : 0);
|
||||
geo->logsectsize = xfs_sb_version_hassector(&mp->m_sb) ?
|
||||
mp->m_sb.sb_logsectsize : BBSIZE;
|
||||
geo->rtsectsize = mp->m_sb.sb_blocksize;
|
||||
|
Reference in New Issue
Block a user