On Mon, Oct 02, 2023 at 08:49:12AM +0200, Christoph Hellwig wrote: > Instead of all this duplicatio in the file system, can we please just > add a > > struct nls_table *s_nls; > > to struct super_block and RCU free it in common code and drop all the > code in the file systems? It makes no sense for most of the filesystems, for one thing (note that any use in ->lookup() does not warrant rcu delays). What's more, how do you formulate the rules for what goes in that field when filesystem uses more than one nls_table?