mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
37801a36b4
In case kern_mount() fails and returns an error pointer return in the
error branch instead of continuing and dereferencing the error pointer.
While on it drop the never read static variable selinuxfs_mount.
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
include | ||
ss | ||
.gitignore | ||
avc.c | ||
hooks.c | ||
ibpkey.c | ||
ima.c | ||
Kconfig | ||
Makefile | ||
netif.c | ||
netlabel.c | ||
netlink.c | ||
netnode.c | ||
netport.c | ||
nlmsgtab.c | ||
selinuxfs.c | ||
status.c | ||
xfrm.c |