Fix typo: LockType -> lockType
authorMarc Dionne <marc.c.dionne@gmail.com>
Wed, 5 May 2010 22:15:05 +0000 (18:15 -0400)
committerDerrick Brashear <shadow@dementia.org>
Thu, 6 May 2010 03:18:14 +0000 (20:18 -0700)
Fix simple typo that causes a build error.

Change-Id: I85f2899850383746094b7e9bab81dea13c2caeab
Reviewed-on: http://gerrit.openafs.org/1908
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>

src/afs/VNOPS/afs_vnop_flock.c

index 8010e73..f916782 100644 (file)
@@ -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