HomeFreeBSD

mountd: Improve error message for exports lines

Description

mountd: Improve error message for exports lines

Currently mountd print error message "symbolic link in export path or
statfs failed" in case some path component in an exports line fails
validation. This revision improves the error message by giving more
information about the precise error as well as the path component that
caused the issue.

Submitted by: Andrew Walker <awalker@ixsystems.com>
Reviewed by: mav, rmacklem
Differential Revision: https://reviews.freebsd.org/D39840

Details

Provenance
mavAuthored on May 6 2023, 6:57 PM
Reviewer
mav
Differential Revision
D39840: Improve error message for exports lines
Parents
rG39f92a76a99a: hwpmc: pass pmc pointer to more class methods
Branches
Unknown
Tags
Unknown