diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2003-08-06 21:47:57 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2003-08-06 21:47:57 +0000 |
commit | 6e2b18cb2cfb66fa773d08528a1feed4a46ebf01 (patch) | |
tree | 037835c20fc7f46b5f86fd332c2e37bb7165458a /init | |
parent | 26868aa93185c14a1939ab9b0a4d08bc07f15b6a (diff) |
2003-08-03 Marco Gerards <metgerards@student.han.nl>
* 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.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions