fs_parse: get rid of ->enums
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 7 Sep 2019 02:12:08 +0000 (22:12 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 7 Feb 2020 05:12:50 +0000 (00:12 -0500)
commit2710c957a8ef4fb00f21acb306e3bd6bcf80c81f
treeda60d8ec6779b64cbc29ca2b161ed9b9c0b2834e
parent0f89589a8c6f1033cb847a606517998efb0da8ee
fs_parse: get rid of ->enums

Don't do a single array; attach them to fsparam_enum() entry
instead.  And don't bother trying to embed the names into those -
it actually loses memory, with no real speedup worth mentioning.

Simplifies validation as well.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/afs/super.c
fs/ceph/super.c
fs/fs_parser.c
fs/gfs2/ops_fstype.c
fs/jffs2/super.c
fs/nfs/fs_context.c
include/linux/fs_parser.h
mm/shmem.c
net/ceph/ceph_common.c