Up to [cvs.NetBSD.org] / src / sys / miscfs / kernfs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-8
Revision 1.158 / (download) - annotate - [select for diffs], Fri May 26 14:21:01 2017 UTC (6 months, 2 weeks ago) by riastradh
CVS Tags: tls-maxphys-base-20171202, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, HEAD
Changes since 1.157: +5 -3 lines
Diff to previous 1.157 (colored)
Make VOP_RECLAIM do the last unlock of the vnode. 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.
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.