Prevent NULL-pointer call for filesystems that don't provide vfs_sysctl
authorkettenis <kettenis@openbsd.org>
Fri, 22 Jul 2016 09:54:09 +0000 (09:54 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 22 Jul 2016 09:54:09 +0000 (09:54 +0000)
commite4b56cf059f99a955f4d97ca2e693a5563d26163
tree9a0aae937ffdb9074982b71ded955660a5725564
parentd3bb36eae1f6eed6d696fdb46382b74430a72f74
Prevent NULL-pointer call for filesystems that don't provide vfs_sysctl
in their vfsops.

Issue reported by Tim Newsham.

ok claudio@, natano@
sys/kern/vfs_subr.c