diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2019-04-12 16:41:17 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-04-15 03:15:57 +0200 |
commit | 7cd5006bdb6f6d9d9d7e68aa1d96b6e4a8b68bc5 (patch) | |
tree | df47e1074e3c043f5206a0e6c0201ae421fc0462 /fs/xfs/libxfs/xfs_ag.h | |
parent | xfs: bump XFS_IOC_FSGEOMETRY to v5 structures (diff) | |
download | linux-7cd5006bdb6f6d9d9d7e68aa1d96b6e4a8b68bc5.tar.xz linux-7cd5006bdb6f6d9d9d7e68aa1d96b6e4a8b68bc5.zip |
xfs: add a new ioctl to describe allocation group geometry
Add a new ioctl to describe an allocation group's geometry.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ag.h')
-rw-r--r-- | fs/xfs/libxfs/xfs_ag.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_ag.h b/fs/xfs/libxfs/xfs_ag.h index 412702e23f61..5166322807e7 100644 --- a/fs/xfs/libxfs/xfs_ag.h +++ b/fs/xfs/libxfs/xfs_ag.h @@ -26,5 +26,7 @@ struct aghdr_init_data { int xfs_ag_init_headers(struct xfs_mount *mp, struct aghdr_init_data *id); int xfs_ag_extend_space(struct xfs_mount *mp, struct xfs_trans *tp, struct aghdr_init_data *id, xfs_extlen_t len); +int xfs_ag_get_geometry(struct xfs_mount *mp, xfs_agnumber_t agno, + struct xfs_ag_geometry *ageo); #endif /* __LIBXFS_AG_H */ |