* Special case handling for allocating and freeing vnodes. * * The counter remains unchanged on free so that a doomed vnode will * keep testing as in modify as long as it is accessible with SMR. */
| 6898 | * keep testing as in modify as long as it is accessible with SMR. |
| 6899 | */ |
| 6900 | static void |
| 6901 | vn_seqc_init(struct vnode *vp) |
| 6902 | { |
| 6903 | |
| 6904 | vp->v_seqc = 0; |
| 6905 | vp->v_seqc_users = 0; |
| 6906 | } |
| 6907 | |
| 6908 | static void |
| 6909 | vn_seqc_write_end_free(struct vnode *vp) |