xfs: move growfs core to libxfs
So it can be shared with userspace (e.g. mkfs) easily. Signed-Off-By: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:

committed by
Darrick J. Wong

parent
8125147288
commit
b16817b66b
@@ -18,6 +18,13 @@
|
||||
#ifndef __XFS_SB_H__
|
||||
#define __XFS_SB_H__
|
||||
|
||||
struct xfs_mount;
|
||||
struct xfs_sb;
|
||||
struct xfs_dsb;
|
||||
struct xfs_trans;
|
||||
struct xfs_fsop_geom;
|
||||
struct xfs_perag;
|
||||
|
||||
/*
|
||||
* perag get/put wrappers for ref counting
|
||||
*/
|
||||
@@ -34,6 +41,8 @@ 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_update_secondary_sbs(struct xfs_mount *mp);
|
||||
|
||||
#define XFS_FS_GEOM_MAX_STRUCT_VER (4)
|
||||
extern int xfs_fs_geometry(struct xfs_sb *sbp, struct xfs_fsop_geom *geo,
|
||||
int struct_version);
|
||||
|
Reference in New Issue
Block a user