Skip to content
Commit 0bd0114a authored by Jonathan Marten's avatar Jonathan Marten
Browse files

nfs: Improve the file handle cache handling and lookup

Ensure that URLs are cleaned of trailing slashes before using them
as a path or key into the file handle cache, so that the cache
matching will not be affected.

Do not store an invalid file handle in the cache, otherwise it can
end up getting used later.

Verify that a NFSFileHandle is valid by looking at the data/link size,
rather than using the separate m_isInvalid flag.  This automatically
verifies the validity of NFS file handles returned from an RPC call.
parent 7d0ce37f
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