commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hurd/nfsd ChangeLog cache.c


From: Marcus Brinkmann
Subject: hurd/nfsd ChangeLog cache.c
Date: Fri, 01 Dec 2000 11:16:02 -0800

CVSROOT:        /home/cvs
Module name:    hurd
Changes by:     Marcus Brinkmann <address@hidden>       00/12/01 11:16:02

Modified files:
        nfsd           : ChangeLog cache.c 

Log message:
        2000-12-01  Marcus Brinkmann  <address@hidden>
        
        * cache.c (scan_creds): Move I inside for-statement.
        Replace inner for-loop with a while-loop. New variable
        NEXT_I set to I->NEXT, because we might free I.
        Set I to NEXT_I at end of while block.
        Move update of leastidlastuse inside if block, because
        otherwise we will constantly prevent ourself from scanning.
        (scan_fhs): Very much the same.
        (scan_replies): Likewise. Also free CR.
        
        (check_cached_reply): Make HASH value absolute (as XID can be
        negative, and thus the modulus).
        Initialize REFERENCES to 1.

CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/nfsd/ChangeLog.diff?r1=1.13&r2=1.14
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/nfsd/cache.c.diff?r1=1.8&r2=1.9




reply via email to

[Prev in Thread] Current Thread [Next in Thread]