Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit b2c2974b authored by Gao Xiang's avatar Gao Xiang Committed by Darrick J. Wong
Browse files

xfs: ensure xfs_errortag_random_default matches XFS_ERRTAG_MAX


Add the BUILD_BUG_ON to xfs_errortag_add() in order to make sure that
the length of xfs_errortag_random_default matches XFS_ERRTAG_MAX when
building.

Signed-off-by: default avatarGao Xiang <hsiangkao@redhat.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDarrick J. Wong <djwong@kernel.org>
Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
parent 92cf7d36
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment