Catch up to FreeBSD VM object read/write locks
authorBen Kaduk <kaduk@mit.edu>
Fri, 22 Mar 2013 17:51:02 +0000 (13:51 -0400)
committerDerrick Brashear <shadow@your-file-system.com>
Mon, 30 Sep 2013 13:31:35 +0000 (06:31 -0700)
commit897e970dbe09d163479719b4c9befa660d99874b
tree9c3bcd03c219164588f4df17cbcbab69df1e09e8
parentdbf68229c6c90d65781fdc16565dd1e9b56248c0
Catch up to FreeBSD VM object read/write locks

Upstream r248084 changed the vm_object mutex to be a rwlock,
allowing for future optimizations.  This is a KPI change, so
introduce conditionals to be compatible with both versions of the KPI.

Change-Id: I6e3101bc80262480035dee4c5b2d1b9cbc44b57b
Reviewed-on: http://gerrit.openafs.org/10295
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
src/afs/FBSD/osi_vm.c
src/afs/FBSD/osi_vnodeops.c