git: e13587448ab1 - stable/13 - cache: fallback when encountering a mount point during .. lookup
Mateusz Guzik
mjg at FreeBSD.org
Mon Feb 1 12:46:39 UTC 2021
The branch stable/13 has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=e13587448ab1da930640563340b5e492325f2e10
commit e13587448ab1da930640563340b5e492325f2e10
Author: Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-01-27 12:52:23 +0000
Commit: Mateusz Guzik <mjg at FreeBSD.org>
CommitDate: 2021-02-01 12:39:17 +0000
cache: fallback when encountering a mount point during .. lookup
The current abort is overzealous.
(cherry picked from commit 5fc384d1810a3a0a0acefc67abe1daf6d6cd09e4)
---
sys/kern/vfs_cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index b759affcc0ac..be06a2edc58b 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -4697,7 +4697,7 @@ cache_fplookup_dotdot(struct cache_fpl *fpl)
* TODO
* The opposite of climb mount is needed here.
*/
- return (cache_fpl_aborted(fpl));
+ return (cache_fpl_partial(fpl));
}
ncp = atomic_load_consume_ptr(&dvp->v_cache_dd);
More information about the dev-commits-src-all
mailing list