7f7aad09bd
VOP_RECLAIM naturally has exclusive access to the vnode, so having it locked on entry is not strictly necessary -- but it means if there are any final operations that must be done on the vnode, such as ffs_update, requiring exclusive access to it, we can now kassert that the vnode is locked in those operations. We can't just have the caller release the last lock because some file systems don't use genfs_lock, and require the vnode to remain valid for VOP_UNLOCK to work, notably unionfs. |
||
---|---|---|
.. | ||
Makefile | ||
fdesc.h | ||
fdesc_vfsops.c | ||
fdesc_vnops.c | ||
files.fdesc |