lkml.org 
[lkml]   [2020]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [v10 1/2] fs: New zonefs file system
From
Date
> 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

\
 
 \ /
  Last update: 2020-02-05 08:18    [W:0.044 / U:5.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site