Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 2021 12:40:58 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e13587448ab1 - stable/13 - cache: fallback when encountering a mount point during .. lookup
Message-ID:  <202102011240.111Cew5v097470@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=e13587448ab1da930640563340b5e492325f2e10

commit e13587448ab1da930640563340b5e492325f2e10
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-01-27 12:52:23 +0000
Commit:     Mateusz Guzik <mjg@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102011240.111Cew5v097470>