[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b1336be5-16f1-cb46-3469-46974406de14@web.de>
Date:   Wed, 5 Feb 2020 08:16:51 +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: [v10 1/2] fs: New zonefs file system
> 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
Powered by blists - more mailing lists
 
