xfs: bump max fsgeom struct version
authorDarrick J. Wong <djwong@kernel.org>
Mon, 16 Oct 2023 16:16:06 +0000 (09:16 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 17 Oct 2023 15:40:54 +0000 (08:40 -0700)
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>
fs/xfs/libxfs/xfs_sb.h

index a5e14740ec9ac3935d5fe9e254d41292174df0a5..19134b23c10be3824de6a7949d6ccf9ebdfa8de0 100644 (file)
@@ -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,