diff options
author | Christoph Hellwig <hch@sgi.com> | 2006-01-10 23:29:52 -0500 |
---|---|---|
committer | Nathan Scott <nathans@sgi.com> | 2006-01-10 23:29:52 -0500 |
commit | 1df84c930a5101223da016f256b46b192dbf2b30 (patch) | |
tree | 306dd22b0df37f70770f3f6a1f991abfcb1c239d /fs/xfs/linux-2.6/xfs_stats.c | |
parent | 1661dc8e7a2c6aeb8f2fb6a8197909c95c220a71 (diff) |
[XFS] Mark some lookup tables const. Thanks to Arjan van de Ven for
spotting these.
SGI-PV: 946028
SGI-Modid: xfs-linux-melb:xfs-kern:202617a
Signed-off-by: Christoph Hellwig <hch@sgi.com>
Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_stats.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_stats.c b/fs/xfs/linux-2.6/xfs_stats.c index 6c40a74be7c8..8955720a2c6b 100644 --- a/fs/xfs/linux-2.6/xfs_stats.c +++ b/fs/xfs/linux-2.6/xfs_stats.c | |||
@@ -34,7 +34,7 @@ xfs_read_xfsstats( | |||
34 | __uint64_t xs_write_bytes = 0; | 34 | __uint64_t xs_write_bytes = 0; |
35 | __uint64_t xs_read_bytes = 0; | 35 | __uint64_t xs_read_bytes = 0; |
36 | 36 | ||
37 | static struct xstats_entry { | 37 | static const struct xstats_entry { |
38 | char *desc; | 38 | char *desc; |
39 | int endpoint; | 39 | int endpoint; |
40 | } xstats[] = { | 40 | } xstats[] = { |