commit-hurd
[Top][All Lists]
Advanced

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

hurd/tmpfs dir.c node.c


From: Roland McGrath
Subject: hurd/tmpfs dir.c node.c
Date: Sun, 15 Apr 2001 15:30:08 -0700

CVSROOT:        /cvs
Module name:    hurd
Changes by:             01/04/15 15:30:08

Modified files:
        tmpfs          : dir.c node.c 

Log message:
        2001-04-15  Neal H Walfield  <address@hidden>
        
        * dir.c (diskfs_get_directs): Total rewrite.
        (diskfs_lookup_hard): Likewise.
        (diskfs_enter_hard): Count node size in the size of the dirent so
        diskfs_get_directs does not have to guess; this is only a few
        bytes different.  Check the amount of space correctly, i.e.
        we cannot compare bytes and pages.
        * node.c: (diskfs_free_node): We already hold
        diskfs_node_refcnt_lock; do not try to lock it again.
        (diskfs_cached_lookup): Use diskfs_nref, that is why we have it.
        Link the nodes correctly.
        (diskfs_set_translator): Add or remove S_IPTRANS from
        np->dn_stat.st_mode as appropriate.
        (diskfs_truncate): Set the new np->dn_stat.st_size.
        (diskfs_grow): Move the assert up.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/tmpfs/dir.c.diff?cvsroot=OldCVS&tr1=1.4&tr2=1.5&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/tmpfs/node.c.diff?cvsroot=OldCVS&tr1=1.6&tr2=1.7&r1=text&r2=text




reply via email to

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