Update fs_type_name() with linux/magic.h constants, trying to correct names
for "mount -t TYPE" modules.

This is probably going to need another pass. The 6.3 kernel's magic.h is full
of dead cruft (the last user of NCP_SUPER_MAGIC went away in kernel
commit bd32895c750b, SMB_SUPER_MAGIC in 939cbe5af5fb, and USBDEVICE_SUPER_MAGIC
in fb28d58b72aa, all more than 10 years ago). And several filesystems
use constants that aren't in that header. Plus the name of the header and
the .name string in the fstype passed to register_filesystem() which
mount -t recognizes are only coincidentally related, although there's ALSO
the problem that different filesystems (such as ext2/ext3/ext4, or msdos/vfat)
use the same constant so aren't readily distinguishable at runtime without
looking in /proc/mounts...
1 file changed