lkml.org 
[lkml]   [2020]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v10 1/2] fs: New zonefs file system
From
Date

> +++ b/fs/zonefs/super.c

> +static const char *zgroups_name[ZONEFS_ZTYPE_MAX] = { "cnv", "seq" };

Can this array be treated as immutable?
How do you think about to use the following code variant?

+static const char const *zgroups_name[ZONEFS_ZTYPE_MAX] = { "cnv", "seq" };

Regards,
Markus

\
 
 \ /
  Last update: 2020-02-04 10:47    [W:1.004 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site