commit-hurd
[Top][All Lists]
Advanced

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

hurd/nfs ChangeLog cache.c main.c mount.c mount...


From: Marcus Brinkmann
Subject: hurd/nfs ChangeLog cache.c main.c mount.c mount...
Date: Mon, 29 Jan 2001 16:38:46 -0800

CVSROOT:        /home/cvs
Module name:    hurd
Changes by:     Marcus Brinkmann <address@hidden>       01/01/29 16:38:45

Modified files:
        nfs            : ChangeLog cache.c main.c mount.c mount.h 
                         name-cache.c nfs-spec.h nfs.c nfs.h ops.c rpc.c 

Log message:
        2000-12-26  Neal H Walfield <address@hidden>
        
        * cache.c: Change cache/hash table size to 509, a prime.  Use
        memcpy/memcmp not bcopy/bcmp.  Verify return value from malloc and
        check the result of rpc transaction _and_ do not act if failed.
        * main.c: Correct the wording of the help messages.  Do not
        bother initializing global variable to 0.  Use memcpy/memcmp not
        bcopy/bcmp.  Verify return value from malloc and check the result
        of rpc transaction _and_ do not act if failed.
        * mount.c: Check return values of initialize_rpc.  Use
        memcpy/memcmp not bcopy/bcmp.  Verify return value from malloc and
        strdup.  Correct comments.
        (mount_root): Check result of connect.  Handle errors
        consistently.  Reverse loops that are if (! c) {} else when
        appropriate.
        * mount.h: Protect header with #ifdef.
        * name-cache.c: Correct dangerous NPARTIALS macro.  Use
        memcpy/memcmp not bcopy/bcmp.
        (find_cache): Use PARTIAL_THRESH, not the constant.
        * nfs-spec.h: Protect header with #ifdef.
        * nfs.c: Use memcpy/memcmp not bcopy/bcmp.
        * nfs.h: Likewise.
        * ops.c (netfs_attempt_mkdir): Check return values of initialize_rpc.
        Use memcpy/memcmp not bcopy/bcmp.  Verify return value from malloc and
        check the result of rpc transaction _and_ do not act if failed.
        (netfs_attempt_link): Unlock the directory before the rpc transaction.
        Check the result of rpc transaction _and_ do not act if failed.
        * pager.c: Remove, we do not use it.
        * rpc.c:  Use memcpy/memcmp not bcopy/bcmp.  Verify return value from
        malloc and check the result of rpc transaction _and_ do not act if
        failed.
        (initialize_rpc): Use AUTH_NONE, not the depreciated
        AUTH_NULL.  Return sane values on failure.
        (generate_xid): Make inline.
        (link_rpc): New function.  Complements unlink_rpc.
        (conduct_rpc): Use link_rpc.
        (rpc_receive_thread): Reroll to a single loop.

CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/nfs/ChangeLog.diff?r1=1.39&r2=1.40
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/nfs/cache.c.diff?r1=1.14&r2=1.15
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/nfs/main.c.diff?r1=1.28&r2=1.29
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/nfs/mount.c.diff?r1=1.22&r2=1.23
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/nfs/mount.h.diff?r1=1.4&r2=1.5
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/nfs/name-cache.c.diff?r1=1.2&r2=1.3
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/nfs/nfs-spec.h.diff?r1=1.1&r2=1.2
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/nfs/nfs.c.diff?r1=1.25&r2=1.26
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/nfs/nfs.h.diff?r1=1.16&r2=1.17
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/nfs/ops.c.diff?r1=1.40&r2=1.41
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/nfs/rpc.c.diff?r1=1.9&r2=1.10




reply via email to

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