From 3e449fcceed35200fa76ed586b6ab8cf60a8ec0f Mon Sep 17 00:00:00 2001 From: Marc Dionne Date: Wed, 5 May 2010 18:15:05 -0400 Subject: [PATCH] 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 --- src/afs/VNOPS/afs_vnop_flock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/afs/VNOPS/afs_vnop_flock.c b/src/afs/VNOPS/afs_vnop_flock.c index 8010e738a2..f91678237a 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