svn commit: r299412 - in head/sys: kern sys

2016-05-10 Thread Konstantin Belousov
Author: kib Date: Wed May 11 06:32:22 2016 New Revision: 299412 URL: https://svnweb.freebsd.org/changeset/base/299412 Log: Add vfs_hash_ref(9) function, which finds a vnode by the hash value and returns it referenced. The function is similar to vfs_hash_get(9), but unlike the later, ret

svn commit: r299413 - head/sys/fs/nfsclient

2016-05-10 Thread Konstantin Belousov
Author: kib Date: Wed May 11 06:35:46 2016 New Revision: 299413 URL: https://svnweb.freebsd.org/changeset/base/299413 Log: Use vfs_hash_ref(9) to eliminate LK_EXCLOTHER kludge. As a consequence, the nfs client override of VOP_LOCK1() is no longer needed. Reviewed and tested by: r

<    1   2