mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
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:
parent
8b6550a090
commit
3e449fccee
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user