diff options
| author | Art Haas <ahaas@airmail.net> | 2002-11-18 06:48:58 -0800 |
|---|---|---|
| committer | David Woodhouse <dwmw2@infradead.org> | 2002-11-18 06:48:58 -0800 |
| commit | 70c8bc2bf4a2bd3042a8bd8e531cd602a12cd417 (patch) | |
| tree | 720fee1c166e4d0abbaf4c4a309465de83600f8a | |
| parent | b46c92d9a2cbb34a12123dfce3e88a416ef263c4 (diff) | |
[PATCH] C99 initializer for fs/sysv/super.c
| -rw-r--r-- | fs/sysv/super.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/fs/sysv/super.c b/fs/sysv/super.c index 4d465fb89e64..9bac127e5c68 100644 --- a/fs/sysv/super.c +++ b/fs/sysv/super.c @@ -274,21 +274,21 @@ static struct { }; static char *flavour_names[] = { - [FSTYPE_XENIX] "Xenix", - [FSTYPE_SYSV4] "SystemV", - [FSTYPE_SYSV2] "SystemV Release 2", - [FSTYPE_COH] "Coherent", - [FSTYPE_V7] "V7", - [FSTYPE_AFS] "AFS", + [FSTYPE_XENIX] = "Xenix", + [FSTYPE_SYSV4] = "SystemV", + [FSTYPE_SYSV2] = "SystemV Release 2", + [FSTYPE_COH] = "Coherent", + [FSTYPE_V7] = "V7", + [FSTYPE_AFS] = "AFS", }; static void (*flavour_setup[])(struct sysv_sb_info *) = { - [FSTYPE_XENIX] detected_xenix, - [FSTYPE_SYSV4] detected_sysv4, - [FSTYPE_SYSV2] detected_sysv2, - [FSTYPE_COH] detected_coherent, - [FSTYPE_V7] detected_v7, - [FSTYPE_AFS] detected_sysv4, + [FSTYPE_XENIX] = detected_xenix, + [FSTYPE_SYSV4] = detected_sysv4, + [FSTYPE_SYSV2] = detected_sysv2, + [FSTYPE_COH] = detected_coherent, + [FSTYPE_V7] = detected_v7, + [FSTYPE_AFS] = detected_sysv4, }; static int complete_read_super(struct super_block *sb, int silent, int size) |
