linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v10 1/2] fs: New zonefs file system
@ 2020-02-04  9:46 Markus Elfring
  2020-02-05  1:35 ` Damien Le Moal
  0 siblings, 1 reply; 5+ messages in thread
From: Markus Elfring @ 2020-02-04  9:46 UTC (permalink / raw)
  To: Damien Le Moal, linux-fsdevel, linux-xfs
  Cc: linux-kernel, Darrick J. Wong, Hannes Reinecke,
	Johannes Thumshirn, Linus Torvalds, Naohiro Aota

…
> +++ 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-05 10:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04  9:46 [PATCH v10 1/2] fs: New zonefs file system Markus Elfring
2020-02-05  1:35 ` Damien Le Moal
2020-02-05  7:16   ` [v10 " Markus Elfring
2020-02-05  7:46     ` Damien Le Moal
2020-02-05 10:44       ` Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).