HomeFreeBSD

cache: work around corner case of dvp == tvp in cache_fplookup_final_modifying

Description

cache: work around corner case of dvp == tvp in cache_fplookup_final_modifying

Fixes a panic where the kernel would unlock an unheld lock coming from
rename looking up "foo/." as the source.

Reported by: markj (syzkaller)

Details

Provenance
mjgAuthored on Dec 28 2020, 9:24 PM
Parents
rG4f4111d2c5ab: fusefs: delete some dead code
Branches
Unknown
Tags
Unknown