mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 10:01:39 -05:00
xfs: constify xfs_errortag_random_default
This table is never modified, so mark it const. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
This commit is contained in:
committed by
Carlos Maiolino
parent
ff3d90903f
commit
3c54e6027f
@@ -19,7 +19,7 @@
|
||||
#define XFS_ERRTAG(_tag, _name, _default) \
|
||||
[XFS_ERRTAG_##_tag] = (_default),
|
||||
#include "xfs_errortag.h"
|
||||
static unsigned int xfs_errortag_random_default[] = { XFS_ERRTAGS };
|
||||
static const unsigned int xfs_errortag_random_default[] = { XFS_ERRTAGS };
|
||||
#undef XFS_ERRTAG
|
||||
|
||||
struct xfs_errortag_attr {
|
||||
|
||||
Reference in New Issue
Block a user