Messages in this thread |  | | From | Damien Le Moal <> | Subject | Re: [v10 1/2] fs: New zonefs file system | Date | Wed, 5 Feb 2020 07:46:07 +0000 |
| |
On 2020/02/05 16:17, Markus Elfring wrote: >> 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.
I understood that and pointed out that the added "const" does not change a thing. I think that as is, it already is immutable. But sure, I can add that const, no problem.
> > Regards, > Markus >
-- Damien Le Moal Western Digital Research
|  |