aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-02-09 10:15:17 +0100
committerCarlos Maiolino <cem@kernel.org>2024-02-15 12:56:43 +0100
commite2b01f5c201be8af0e61eafcb4d2d573dfd7eaa9 (patch)
tree17290b82515da401da540803040ba117d1164537
parent7a7b09c2b027b6f45de61c6e56b36154c1138c0c (diff)
downloadxfsprogs-dev-e2b01f5c201be8af0e61eafcb4d2d573dfd7eaa9.tar.gz
xfs: bump max fsgeom struct version
Source kernel commit: 9488062805943c2d63350d3ef9e4dc093799789a The latest version of the fs geometry structure is v5. Bump this constant so that xfs_db and mkfs calls to libxfs_fs_geometry will fill out all the fields. IOWs, this commit is a no-op for the kernel, but will be useful for userspace reporting in later changes. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Carlos Maiolino <cem@kernel.org>
-rw-r--r--libxfs/xfs_sb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libxfs/xfs_sb.h b/libxfs/xfs_sb.h
index a5e14740ec..19134b23c1 100644
--- a/libxfs/xfs_sb.h
+++ b/libxfs/xfs_sb.h
@@ -25,7 +25,7 @@ extern uint64_t xfs_sb_version_to_features(struct xfs_sb *sbp);
extern int xfs_update_secondary_sbs(struct xfs_mount *mp);
-#define XFS_FS_GEOM_MAX_STRUCT_VER (4)
+#define XFS_FS_GEOM_MAX_STRUCT_VER (5)
extern void xfs_fs_geometry(struct xfs_mount *mp, struct xfs_fsop_geom *geo,
int struct_version);
extern int xfs_sb_read_secondary(struct xfs_mount *mp,