Return the covered vnode instead.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
Can we add a regression test case for this? I will write one if someone will sketch out what needs to happen.
Comment Actions
I think it makes more sense to add this to stress2. Also it should get the rename() test. I will talk with Peter about it.
| sys/kern/vfs_lookup.c | ||
|---|---|---|
| 1509 | Yes, Peter also reported the issue, I fixed it on the branch. | |
Comment Actions
Сorrect arguments and simplify the vn_lock_pair() call. No need for the locked variable.
vref(mvp) unconditionally to pacify the error path.
Comment Actions
Also the specific tests for the situation in PR282596 were run. It seems that the change is enough.