commit-hurd
[Top][All Lists]
Advanced

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

hurd/fatfs node-create.c


From: Marcus Brinkmann
Subject: hurd/fatfs node-create.c
Date: Sat, 02 Aug 2003 17:33:35 -0400

CVSROOT:        /cvsroot/hurd
Module name:    hurd
Branch:         
Changes by:     Marcus Brinkmann <address@hidden>       03/08/02 17:33:35

Added files:
        fatfs          : node-create.c 

Log message:
        2003-08-01  Marco Gerards  <address@hidden>
        
        * node-create.c: New file.
        * Makefile (SRCS): Added node-created.c.
        * dir.c: Include <hurd/fsys.h>.
        (diskfs_direnter_hard): Initialize a new block with zeros. Enter
        direntry and setup the virtual  inode. Also handle directories
        correctly.
        (diskfs_rewrite_hard): Function rewritten.
        (diskfs_dirempty): Change logic to test if a file was deleted.
        * fat.c (fat_extend_chain): Unlock spin_lock when returning from
        function. Set dn->last to 0 when deallocating the complete
        file. Update dn->last when not deallocating the complete file. Set
        dn->first to zero when the complete file was deallocated. Also
        update dn->length_of_chain to the new amount of clusters in the
        chain.
        * main.c (diskfs_hard_readonly): Remove global variable.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/hurd/hurd/fatfs/node-create.c?rev=1.1





reply via email to

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