MFC r272717:
Remove call to access(2) which didn't serve any purpose, and make it more tolerant to errors.
Sponsored by: The FreeBSD Foundation