]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c61e77336d2a7baf91e6ca186741027f90f7d12
treeda60d8ec6779b64cbc29ca2b161ed9b9c0b2834e
parentbc4cabf00919f043dc781c5006c9877d61bb1016
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