git: 3814bea00aed - main - cache: drop the now spurious doomed check when crossing a mount point
Mateusz Guzik
mjg at FreeBSD.org
Sun Jan 3 21:22:43 UTC 2021
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=3814bea00aed11007567c5ca075511c4f4217656
commit 3814bea00aed11007567c5ca075511c4f4217656
Author: Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-01-03 07:35:22 +0000
Commit: Mateusz Guzik <mjg at FreeBSD.org>
CommitDate: 2021-01-03 21:22:16 +0000
cache: drop the now spurious doomed check when crossing a mount point
---
sys/kern/vfs_cache.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index 767b7136c580..1ad72630e1dc 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -4674,7 +4674,7 @@ cache_fplookup_climb_mount(struct cache_fpl *fpl)
return (cache_fpl_partial(fpl));
}
vp = atomic_load_ptr(&mp->mnt_rootvnode);
- if (vp == NULL || VN_IS_DOOMED(vp)) {
+ if (vp == NULL) {
vfs_op_thread_exit_crit(mp, mpcpu);
return (cache_fpl_partial(fpl));
}
@@ -4725,7 +4725,7 @@ cache_fplookup_cross_mount(struct cache_fpl *fpl)
return (cache_fpl_partial(fpl));
}
vp = atomic_load_ptr(&mp->mnt_rootvnode);
- if (__predict_false(vp == NULL || VN_IS_DOOMED(vp))) {
+ if (__predict_false(vp == NULL)) {
vfs_op_thread_exit_crit(mp, mpcpu);
return (cache_fpl_partial(fpl));
}
More information about the dev-commits-src-main
mailing list