From: Marc Dionne Date: Wed, 5 May 2010 22:15:05 +0000 (-0400) Subject: Fix typo: LockType -> lockType X-Git-Tag: openafs-devel-1_5_75~314 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=3e449fcceed35200fa76ed586b6ab8cf60a8ec0f;p=packages%2Fo%2Fopenafs.git Fix typo: LockType -> lockType Fix simple typo that causes a build error. Change-Id: I85f2899850383746094b7e9bab81dea13c2caeab Reviewed-on: http://gerrit.openafs.org/1908 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/VNOPS/afs_vnop_flock.c b/src/afs/VNOPS/afs_vnop_flock.c index 8010e738a..f91678237 100644 --- a/src/afs/VNOPS/afs_vnop_flock.c +++ b/src/afs/VNOPS/afs_vnop_flock.c @@ -434,7 +434,7 @@ HandleFlock(register struct vcache *avc, int acom, struct vrequest *areq, (tc, code, &avc->f.fid, areq, AFS_STATS_FS_RPCIDX_SETLOCK, SHARED_LOCK, NULL)); - if ((LockType == LockWrite) && (code == VREADONLY)) + if ((lockType == LockWrite) && (code == VREADONLY)) code = EBADF; /* per POSIX; VREADONLY == EROFS */ } else /* XXX - Should probably try and log this when we're