[Midnightbsd-cvs] src [8726] trunk/sys/sys/vnode.h: add vfs_hash_index

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 25 18:40:19 EDT 2016


Revision: 8726
          http://svnweb.midnightbsd.org/src/?rev=8726
Author:   laffer1
Date:     2016-09-25 18:40:19 -0400 (Sun, 25 Sep 2016)
Log Message:
-----------
add vfs_hash_index

Modified Paths:
--------------
    trunk/sys/sys/vnode.h

Modified: trunk/sys/sys/vnode.h
===================================================================
--- trunk/sys/sys/vnode.h	2016-09-25 22:35:22 UTC (rev 8725)
+++ trunk/sys/sys/vnode.h	2016-09-25 22:40:19 UTC (rev 8726)
@@ -811,6 +811,7 @@
 typedef int vfs_hash_cmp_t(struct vnode *vp, void *arg);
 
 int vfs_hash_get(const struct mount *mp, u_int hash, int flags, struct thread *td, struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg);
+u_int vfs_hash_index(struct vnode *vp);
 int vfs_hash_insert(struct vnode *vp, u_int hash, int flags, struct thread *td, struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg);
 void vfs_hash_rehash(struct vnode *vp, u_int hash);
 void vfs_hash_remove(struct vnode *vp);



More information about the Midnightbsd-cvs mailing list