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 <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Marc Dionne 2010-05-05 18:15:05 -04:00 committed by Derrick Brashear
parent 8b6550a090
commit 3e449fccee

View File

@ -434,7 +434,7 @@ HandleFlock(register struct vcache *avc, int acom, struct vrequest *areq,
(tc, code, &avc->f.fid, areq, (tc, code, &avc->f.fid, areq,
AFS_STATS_FS_RPCIDX_SETLOCK, SHARED_LOCK, AFS_STATS_FS_RPCIDX_SETLOCK, SHARED_LOCK,
NULL)); NULL));
if ((LockType == LockWrite) && (code == VREADONLY)) if ((lockType == LockWrite) && (code == VREADONLY))
code = EBADF; /* per POSIX; VREADONLY == EROFS */ code = EBADF; /* per POSIX; VREADONLY == EROFS */
} else } else
/* XXX - Should probably try and log this when we're /* XXX - Should probably try and log this when we're