Files
nixiaoming fe5e418c6b selinux: cleanup dentry and inodes on error in selinuxfs
[ Upstream commit 7e4237faa7 ]

If the resource requested by d_alloc_name is not added to the linked
list through d_add, then dput needs to be called to release the
subsequent abnormal branch to avoid resource leakage.

Add missing dput to selinuxfs.c

Signed-off-by: nixiaoming <nixiaoming@huawei.com>
[PM: tweak the subject line]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-15 09:46:53 +02:00
..
2018-05-03 15:55:23 -07:00
2018-06-12 16:19:22 -07:00
2018-03-20 16:58:17 -04:00
…
2018-06-15 18:10:01 -03:00
2018-03-01 18:48:02 -05:00
2018-03-01 18:48:02 -05:00
2018-03-20 16:58:17 -04:00
…
2018-03-01 18:48:02 -05:00
2018-03-01 18:48:02 -05:00
2018-03-20 16:58:17 -04:00