diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2003-08-02 21:33:35 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2003-08-02 21:33:35 +0000 |
commit | acdd8445816fb1068728057ec65a8c6dd61bc1f5 (patch) | |
tree | 5131bbcb26d2ccc741bc8b477e63539258db7295 /fatfs/main.c | |
parent | 15dc4468532a00874d2e2e6c180f476b76ba7947 (diff) |
2003-08-01 Marco Gerards <metgerards@student.han.nl>
* 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.
Diffstat (limited to 'fatfs/main.c')
-rw-r--r-- | fatfs/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatfs/main.c b/fatfs/main.c index b6916a24..2b14c013 100644 --- a/fatfs/main.c +++ b/fatfs/main.c @@ -43,7 +43,7 @@ int diskfs_name_max = FAT_NAME_MAX; int diskfs_maxsymlinks = 8; /* XXX */ /* This filesystem is not capable of writing yet. */ -int diskfs_readonly = 1, diskfs_hard_readonly = 1; +int diskfs_readonly = 1; /* Handy source of zeroes. */ vm_address_t zerocluster; |