fs/unicode patches for v5.8

This includes two patches for the unicode system for inclusion into
Linux v5.8:

  - A patch from Gabriel exporting in sysfs the most recent utf-8
  version available

  - A patch by Ricardo CaƱuelo converting the unicode tests to kunit.
unicode: Expose available encodings in sysfs

A filesystem configuration utility has no way to detect which filename
encodings are supported by the running kernel.  This means, for
instance, mkfs has no way to tell if the generated filesystem will be
mountable in the current kernel or not.  Also, users have no easy way to
know if they can update the encoding in their filesystems and still have
something functional in the end.

This exposes details of the encodings available in the unicode
subsystem to fill that gap.

Cc: Theodore Ts'o <tytso@mit.edu>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
3 files changed