From 7dce85e4e5db7420c5c359fdd02a8005a12fb29c Mon Sep 17 00:00:00 2001 From: Jens Wegener Date: Tue, 6 Mar 2012 07:28:32 -0600 Subject: [PATCH] viced: fix inverted lockCount assignment FIXES 130605 Change-Id: Ibfdbc03100094ca33630dc9e1ddbcacf770a1a02 Reviewed-on: http://gerrit.openafs.org/6884 Reviewed-by: Derrick Brashear Tested-by: BuildBot Tested-by: Jeffrey Altman Reviewed-by: Jeffrey Altman --- src/viced/afsfileprocs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viced/afsfileprocs.c b/src/viced/afsfileprocs.c index dabcbbe182..c761817813 100644 --- a/src/viced/afsfileprocs.c +++ b/src/viced/afsfileprocs.c @@ -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 */