From: Andrew Deason Date: Wed, 25 Nov 2009 21:47:27 +0000 (-0500) Subject: 'Flexible client buffer growth' fallout X-Git-Tag: openafs-devel-1_5_67~13 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=af9d80512852c083dd25655c2f717cfd75a9dce5;p=packages%2Fo%2Fopenafs.git 'Flexible client buffer growth' fallout e7c966354c428a5a5929a3db6a829ee71c8ba2fc re-introduced a usage of the 'M' lock macro variants previously removed by bab6fd227f5724c4e4ca5d0ba1dc64e21ed21f97. Use the non-'M' macros instead so we can build. Change-Id: Ie27fb8e82a7440a6952517d9a0cc1aeb8523511c Reviewed-on: http://gerrit.openafs.org/872 Tested-by: Andrew Deason Tested-by: Marc Dionne Reviewed-by: Marc Dionne Tested-by: Derrick Brashear Reviewed-by: Derrick Brashear --- diff --git a/src/afs/afs_buffer.c b/src/afs/afs_buffer.c index dc6701de4..bb7ef6a42 100644 --- a/src/afs/afs_buffer.c +++ b/src/afs/afs_buffer.c @@ -422,11 +422,11 @@ DRelease(void *loc, int flag) } } tp = &(Buffers[index]); - MObtainWriteLock(&tp->lock, 261); + ObtainWriteLock(&tp->lock, 261); tp->lockers--; if (flag) tp->dirty = 1; - MReleaseWriteLock(&tp->lock); + ReleaseWriteLock(&tp->lock); } int