apparmor: cleanup: simplify code to get ns symlink name
authorJohn Johansen <john.johansen@canonical.com>
Mon, 5 Feb 2018 17:26:46 +0000 (18:26 +0100)
committerJohn Johansen <john.johansen@canonical.com>
Fri, 9 Feb 2018 19:30:02 +0000 (11:30 -0800)
commita0781209cb894e5115bb00c269b1d94c4b632d6a
tree95d74ef6676a6cdfff0c6b11b823c8382f4fe107
parentcf91600071a973c28cebf314e618610a20ec4d6d
apparmor: cleanup: simplify code to get ns symlink name

ns_get_name() is called in only one place and can be folded in.

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/apparmorfs.c