mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
windows-locks-uninit-20051122
Initialize 'code' to non-zero at the top of each loop to avoid setting the last updated timestamp on skipped locks
This commit is contained in:
parent
5ce322c9f1
commit
030ecf1af9
@ -4154,8 +4154,8 @@ void cm_CheckLocks()
|
|||||||
|
|
||||||
for(q = cm_allFileLocks; q; q = nq) {
|
for(q = cm_allFileLocks; q; q = nq) {
|
||||||
fileLock = (cm_file_lock_t *) q;
|
fileLock = (cm_file_lock_t *) q;
|
||||||
|
|
||||||
nq = osi_QNext(q);
|
nq = osi_QNext(q);
|
||||||
|
code = -1;
|
||||||
|
|
||||||
if (IS_LOCK_DELETED(fileLock)) {
|
if (IS_LOCK_DELETED(fileLock)) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user