From 6e2b18cb2cfb66fa773d08528a1feed4a46ebf01 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Wed, 6 Aug 2003 21:47:57 +0000 Subject: 2003-08-03 Marco Gerards * fatfs.h (struct disknode): New member DIRNODE. * inode.c (read_node): Added assertion to be sure the directory can always be found. Add directory dependancy to node by initializing DIRNODE and holding a reference. (diskfs_node_norefs): Release reference to DIRNODE. (write_node): Don't use diskfs_cached_lookup to lookup the directory, use DIRNODE instead and lock DP. Don't use diskfs_nput, use mutex_unlock instead. (diskfs_alloc_node): Add directory dependancy to node by initializing DIRNODE and holding a reference. --- fatfs/ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'fatfs/ChangeLog') diff --git a/fatfs/ChangeLog b/fatfs/ChangeLog index 63c9fcb4..3c5acce8 100644 --- a/fatfs/ChangeLog +++ b/fatfs/ChangeLog @@ -1,3 +1,16 @@ +2003-08-03 Marco Gerards + + * fatfs.h (struct disknode): New member DIRNODE. + * inode.c (read_node): Added assertion to be sure the directory + can always be found. Add directory dependancy to node by + initializing DIRNODE and holding a reference. + (diskfs_node_norefs): Release reference to DIRNODE. + (write_node): Don't use diskfs_cached_lookup to lookup the + directory, use DIRNODE instead and lock DP. Don't use diskfs_nput, + use mutex_unlock instead. + (diskfs_alloc_node): Add directory dependancy to node by + initializing DIRNODE and holding a reference. + 2003-08-05 Marcus Brinkmann * fat.c (fat_read_sblock): Catch error from store_read. -- cgit v1.2.3