smack: take the guts of smack_parse_opts_str() into a new helper
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Dec 2018 06:09:45 +0000 (01:09 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 21 Dec 2018 16:50:30 +0000 (11:50 -0500)
commit55c0e5bd078eba2d41d76fa25d5d5e55f1ff09ee
treecea1cf02cc698ebf93ac353ea6795e8492569a0d
parent757cbe597fe8490c7c0a9650ebe5d60195f151d4
smack: take the guts of smack_parse_opts_str() into a new helper

smack_add_opt() adds an already matched option to growing smack_mnt_options

Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/smack/smack_lsm.c