From: Antoine Verheijen Date: Wed, 28 Jan 2015 02:44:56 +0000 (-0700) Subject: OpenBSD: Remove obsolete parameter in call to osi_VM_FlushVCache() X-Git-Tag: upstream/1.8.0_pre1^2~377 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d354386b8c6047206800dc52ab82886e23db77ad;p=packages%2Fo%2Fopenafs.git OpenBSD: Remove obsolete parameter in call to osi_VM_FlushVCache() The second parameter in the call to osi_VM_FlushVCache() in the kernel module is obsolete and has been removed. However, one call in the OpenBSD module still contains that parameter in its call. This patch removes it, eliminating the compile error. Change-Id: Ia3f79c74e86b8038301459e1adbf17a58056e8b1 Reviewed-on: http://gerrit.openafs.org/11698 Tested-by: BuildBot Reviewed-by: Perry Ruiter Reviewed-by: Benjamin Kaduk --- diff --git a/src/afs/OBSD/osi_vm.c b/src/afs/OBSD/osi_vm.c index 419516121..fbec5baa7 100644 --- a/src/afs/OBSD/osi_vm.c +++ b/src/afs/OBSD/osi_vm.c @@ -80,7 +80,7 @@ void osi_VM_TryToSmush(struct vcache *avc, afs_ucred_t *acred, int sync) { ReleaseWriteLock(&avc->lock); - osi_VM_FlushVCache(avc, NULL); + osi_VM_FlushVCache(avc); ObtainWriteLock(&avc->lock, 59); }