cache: flip inverted condition in previous
It happened to not affect correctness in that the fallback code would simply neglect to promote the entry.
This commit is contained in:
parent
e7602e04c7
commit
a59b0ac3aa
@ -1624,7 +1624,7 @@ cache_lookup(struct vnode *dvp, struct vnode **vpp, struct componentname *cnp,
|
||||
vfs_smr_exit();
|
||||
goto out_fallback;
|
||||
}
|
||||
if (neg_hot) {
|
||||
if (!neg_hot) {
|
||||
vfs_smr_exit();
|
||||
if (!cache_negative_promote_cond(dvp, cnp, ncp, hash))
|
||||
goto out_fallback;
|
||||
|
Loading…
Reference in New Issue
Block a user