Skip to content
Commit 3c5f89fb authored by Jonathan Marten's avatar Jonathan Marten
Browse files

nfs (v3): Fix resolution of invalid symlinks

That is, links that point nowhere or outside of the NFS server's
exported directories.  Avoid calling getFileHandle() on the target
of such a link, as it will use isValidPath() and set an error.
An error here is not appropriate for the result of the operation,
so just note the link as invalid.

Do not perform redundant (already done) checks in listDirCompat(),
and ensure that it returns a UDSEntry for ".".
parent 02e4fbb4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment