1cfdefbb9f
adding vnode to hash. The fix is to use atomic hash-lookup-and-add-if- not-found operation. The odd thing is that this race can't happen actually because the lowervp vnode is locked exclusively now during the whole process of null node creation. This must be thought as a step toward shared lookups. Also remove vp->v_mount checks when looking for a match in the hash, as this is the vestige. Also add comments and cosmetic changes. |
||
---|---|---|
.. | ||
null_subr.c | ||
null_vfsops.c | ||
null_vnops.c | ||
null.h |