lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <68ef8614-87f8-1b6e-7f55-f9d53a0f1e1c@web.de>
Date:   Tue, 4 Feb 2020 10:46:31 +0100
From:   Markus Elfring <Markus.Elfring@....de>
To:     Damien Le Moal <Damien.LeMoal@....com>,
        linux-fsdevel@...r.kernel.org, linux-xfs@...r.kernel.org
Cc:     linux-kernel@...r.kernel.org,
        "Darrick J. Wong" <darrick.wong@...cle.com>,
        Hannes Reinecke <hare@...e.de>,
        Johannes Thumshirn <jth@...nel.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Naohiro Aota <Naohiro.Aota@....com>
Subject: Re: [PATCH v10 1/2] fs: New zonefs file system

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ