From: Markus Elfring <Markus.Elfring@web.de>
To: Damien Le Moal <Damien.LeMoal@wdc.com>,
linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
"Darrick J. Wong" <darrick.wong@oracle.com>,
Hannes Reinecke <hare@suse.de>,
Johannes Thumshirn <jth@kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Naohiro Aota <Naohiro.Aota@wdc.com>
Subject: Re: [PATCH v10 1/2] fs: New zonefs file system
Date: Tue, 4 Feb 2020 10:46:31 +0100 [thread overview]
Message-ID: <68ef8614-87f8-1b6e-7f55-f9d53a0f1e1c@web.de> (raw)
…
> +++ 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
next reply other threads:[~2020-02-04 9:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-04 9:46 Markus Elfring [this message]
2020-02-05 1:35 ` [PATCH v10 1/2] fs: New zonefs file system 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
-- strict thread matches above, loose matches on Subject: below --
2020-01-29 13:11 [PATCH v10 0/2] " Damien Le Moal
2020-01-29 13:11 ` [PATCH v10 1/2] fs: " Damien Le Moal
2020-02-03 15:08 ` Johannes Thumshirn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=68ef8614-87f8-1b6e-7f55-f9d53a0f1e1c@web.de \
--to=markus.elfring@web.de \
--cc=Damien.LeMoal@wdc.com \
--cc=Naohiro.Aota@wdc.com \
--cc=darrick.wong@oracle.com \
--cc=hare@suse.de \
--cc=jth@kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).