mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
viced: fix inverted lockCount assignment
FIXES 130605 Change-Id: Ibfdbc03100094ca33630dc9e1ddbcacf770a1a02 Reviewed-on: http://gerrit.openafs.org/6884 Reviewed-by: Derrick Brashear <shadow@dementix.org> Tested-by: BuildBot <buildbot@rampaginggeek.com> Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com> Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
This commit is contained in:
parent
0f3cb2a43e
commit
7dce85e4e5
@ -2167,7 +2167,7 @@ GetStatus(Vnode * targetptr, AFSFetchStatus * status, afs_int32 rights,
|
||||
Directory ? targetptr->disk.uniquifier : parentptr->disk.uniquifier);
|
||||
status->ServerModTime = targetptr->disk.serverModifyTime;
|
||||
status->Group = targetptr->disk.group;
|
||||
status->lockCount = Time > targetptr->disk.lock.lockTime ? targetptr->disk.lock.lockCount : 0;
|
||||
status->lockCount = Time > targetptr->disk.lock.lockTime ? 0 : targetptr->disk.lock.lockCount;
|
||||
status->errorCode = 0;
|
||||
|
||||
} /*GetStatus */
|
||||
|
Loading…
x
Reference in New Issue
Block a user