Skip to content

Commit 9488062

Browse files
author
Darrick J. Wong
committed
xfs: bump max fsgeom struct version
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>
1 parent 5872080 commit 9488062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/xfs/libxfs/xfs_sb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extern uint64_t xfs_sb_version_to_features(struct xfs_sb *sbp);
2525

2626
extern int xfs_update_secondary_sbs(struct xfs_mount *mp);
2727

28-
#define XFS_FS_GEOM_MAX_STRUCT_VER (4)
28+
#define XFS_FS_GEOM_MAX_STRUCT_VER (5)
2929
extern void xfs_fs_geometry(struct xfs_mount *mp, struct xfs_fsop_geom *geo,
3030
int struct_version);
3131
extern int xfs_sb_read_secondary(struct xfs_mount *mp,

0 commit comments

Comments
 (0)