xfs: hoist xfs_fs_geometry to libxfs

Move xfs_fs_geometry to libxfs so that we can clean up the fs geometry
reporting in xfsprogs.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
このコミットが含まれているのは:
Darrick J. Wong
2018-01-08 10:51:27 -08:00
コミット c368ebcd4c
6個のファイルの変更84行の追加78行の削除

ファイルの表示

@@ -34,4 +34,7 @@ extern void xfs_sb_from_disk(struct xfs_sb *to, struct xfs_dsb *from);
extern void xfs_sb_to_disk(struct xfs_dsb *to, struct xfs_sb *from);
extern void xfs_sb_quota_from_disk(struct xfs_sb *sbp);
extern int xfs_fs_geometry(struct xfs_mount *mp, struct xfs_fsop_geom *geo,
int nversion);
#endif /* __XFS_SB_H__ */