diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2000-11-26 16:53:40 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2000-11-26 16:53:40 +0000 |
commit | e3b1ae2acca631296b3fdc3342a543beac69360a (patch) | |
tree | 8972fa01b27d5593d5ca89ed83b0e3a803f9fa70 /libnetfs/io-clear-some-openmodes.c | |
parent | ce0f972cecd30fc1457aa0a9a0fa1ad966d23c12 (diff) |
2000-11-26 Marcus Brinkmann <marcus@gnu.org>
Fix hard link handling for non-zero length files.
* inode.c: Fix comment about inode numbers.
(node_cache): New member ID to store unique identifier.
(inode_cache_find): Change RECORD arg into ID and compare it
with id member of node_cache.
(cache_inode): Swap order of args and add new arg RR (change dr
into record along the way). Use RR to find out cache ID.
Use id member of node_cache to look for ID. Cache ID.
(load_inode): Call inode_cache_find with correct ID, depending
on RR and file size. Frob arguments to cache_inode to comply with
the new definition.
(read_disknode): Set st_ino according depending on RR and file size.
* lookup.c: Doc spelling fix.
(diskfs_get_directs): Include code again that was removed by last change,
but use it only if not symlink or zero length file.
Diffstat (limited to 'libnetfs/io-clear-some-openmodes.c')
0 files changed, 0 insertions, 0 deletions