diff options
author | rmacklem <rmacklem@FreeBSD.org> | 2010-12-24 21:31:18 +0000 |
---|---|---|
committer | rmacklem <rmacklem@FreeBSD.org> | 2010-12-24 21:31:18 +0000 |
commit | 8276de4a81a666e568944ecaf0db30a851b47786 (patch) | |
tree | 4c5398fc747079f8082afbff3e720d8edb2725c4 /sys/fs/pseudofs | |
parent | ce0da79f1cca2eefdae9218bb9d265aef91ad5eb (diff) | |
download | FreeBSD-src-8276de4a81a666e568944ecaf0db30a851b47786.zip FreeBSD-src-8276de4a81a666e568944ecaf0db30a851b47786.tar.gz |
Add an argument to nfsvno_getattr() in the experimental
NFS server, so that it can avoid calling VOP_ISLOCKED()
when the vnode is known to be locked. This will allow
LK_SHARED to be used for these cases, which happen to
be all the cases that can use LK_SHARED. This does not
fix any bug, but it reduces the number of calls to
VOP_ISLOCKED() and prepares the code so that it can be
switched to using LK_SHARED in a future patch.
Reviewed by: kib
MFC after: 2 weeks
Diffstat (limited to 'sys/fs/pseudofs')
0 files changed, 0 insertions, 0 deletions