Re: [v10 1/2] fs: New zonefs file system

From: Markus Elfring
Date: Wed Feb 05 2020 - 02:17:30 EST


> Declaring it as
>
> static const char * const zgroups_name[] = { "cnv", "seq" };
>
> is probably what you are suggesting,

Yes.


> but since the string literals are already constants by default,
> I do not think there is any difference.

I propose to define this array also as a completely immutable data structure.

Regards,
Markus