]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r336594:
authorasomers <asomers@FreeBSD.org>
Mon, 1 Oct 2018 15:45:20 +0000 (15:45 +0000)
committerasomers <asomers@FreeBSD.org>
Mon, 1 Oct 2018 15:45:20 +0000 (15:45 +0000)
commit6c47be48532abaf53c09831fbedf65fc35d6564f
treed7161612891543a785751bbb804672d41be1628a
parent70a8b6d45b2970b9c00a49d98a77e245150c10f8
MFC r336594:

Fix tmpfs detection in the sys/fs/tmpfs tests

This code was originally written for NetBSD.  r306031 tried to adapt it to
FreeBSD, but didn't correctly handle the case that tmpfs was available, but
not already loaded.  Fix the logic to load the module if necessary.  The
tmpfs tests shouldn't be skipped anymore.

Also, fix a comment that was dislocated by r306031.

Reported by: Jenkins
contrib/netbsd-tests/fs/h_funcs.subr