[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZJhPIYSUzBpuqosh@gallifrey>
Date: Sun, 25 Jun 2023 14:28:49 +0000
From: "Dr. David Alan Gilbert" <linux@...blig.org>
To: sfrench@...ba.org, linkinjeon@...nel.org, shaggy@...nel.org
Cc: jfs-discussion@...ts.sourceforge.net, linux-cifs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Duplicate unicode tables in smb/cifs/jfs
Hi All,
I just tripped over three sets of duplicated unicode tables and
wondered if anyone had tried to rationalise them:
The pair of:
./fs/smb/server/uniupr.h
./fs/smb/client/cifs_uniupr.h
are identical except for formatting.
./fs/jfs/jfs_uniupr.c,
and I think this is the same with some change in variable name.
(I'm guessing the same thing is implemented in a bunch of
other places as well in a different way)
Would it make sense to swing fs/smb/server/uniupr.h up to
hmm, maybe fs/uniupr.h, remove any of the cifs_ prefixes
and then use the same include in all 3 places?
Maybe then later look at using some of the nls code?
Dave (who just tripped over this stuff)
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
Powered by blists - more mailing lists