HomeFreeBSD

fts(3): be less strict when automount does its job under us walking autofs mount

Description

fts(3): be less strict when automount does its job under us walking autofs mount

Namely, allow the file id change if the resulting file belongs to
automounted filesystem. If it is, remember the updated id.

This allows the ids from the automounted volumes to change without
restrictions, might be a further refinement would be to only allow such
inconsistency once.

PR: 284914
Reported and tested by: Lexi Winter <lexi@hemlock.eden.le-fay.org>
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D49094