aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-01-27 12:52:23 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-01-27 15:00:31 +0000
commit5fc384d1810a3a0a0acefc67abe1daf6d6cd09e4 (patch)
tree0715b1a37c76d1bd1a6a25315f461b16b3a68e6e
parentc262e8e87e7b59b768c717c1779ef1ba28507f44 (diff)
downloadsrc-5fc384d1810a3a0a0acefc67abe1daf6d6cd09e4.tar.gz
src-5fc384d1810a3a0a0acefc67abe1daf6d6cd09e4.zip
cache: fallback when encountering a mount point during .. lookup
The current abort is overzealous.
-rw-r--r--sys/kern/vfs_cache.c2
1 files changed, 1 insertions, 1 deletions
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);