aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs_context.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-12-16 13:45:41 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2020-02-07 14:47:52 -0500
commit34264ae3fa22429ec4fd9151602342d1f21486eb (patch)
tree687392b53b9d246d3ec1193abcade23ad85186b5 /include/linux/fs_context.h
parentfold struct fs_parameter_enum into struct constant_table (diff)
downloadlinux-dev-34264ae3fa22429ec4fd9151602342d1f21486eb.tar.xz
linux-dev-34264ae3fa22429ec4fd9151602342d1f21486eb.zip
don't bother with explicit length argument for __lookup_constant()
Have the arrays of constant_table self-terminated (by NULL ->name in the final entry). Simplifies lookup_constant() and allows to reuse the search for enum params as well. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions