]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Remove hardcoded maximum time
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Mon, 26 Oct 2009 18:52:52 +0000 (18:52 +0000)
committerDerrick Brashear <shadow|account-1000005@unknown>
Thu, 17 Dec 2009 07:00:31 +0000 (23:00 -0800)
commitb21d0930e56a3331cd94c30a07e9d8fdebdcd5c4
treee2cf24611d182a70bc5f7feb5dc89bfa21eaac56
parent7cb287abe44df635ecedaf722b86d03425d3845a
Remove hardcoded maximum time

When iterating across the buffer list, afs_newslot used a hardcoded
maximum time to find the oldest. Instead of using this, just use the
accesstime of the first unused buffer that we find as the oldest, and
continue as normal.

Change-Id: Ifeacb8a407901b46a23fbc838b1fca761108ebbb
Reviewed-on: http://gerrit.openafs.org/738
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 293e8c6a1048bf3c342134b5ca6f79d68023258b)
Reviewed-on: http://gerrit.openafs.org/981
src/afs/afs_buffer.c