selinux: kill selinux_sb_get_mnt_opts()
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 13 Dec 2018 05:24:36 +0000 (00:24 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 21 Dec 2018 16:48:15 +0000 (11:48 -0500)
commite3489f8974e178d723259a842a1e61708dd7dc1e
tree9fb393250ec2446ded96fa641630ed0dfeb68dfe
parent5b4002391153acebce2557af318bbdc17e235134
selinux: kill selinux_sb_get_mnt_opts()

it's much easier to just do the right thing in ->sb_show_options(),
without bothering with allocating and populating arrays, etc.

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