summaryrefslogtreecommitdiff
path: root/mount
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2000-11-27 19:58:35 +0000
committerMarcus Brinkmann <marcus@gnu.org>2000-11-27 19:58:35 +0000
commitdcf87038f6e0cba736b974204a7e8c1bbe2c4858 (patch)
tree96dc178cd1706247113e505c45d50a9571bfcb3e /mount
parentea5ea50352cde95ee275859aba3b5d0bb0c3d341 (diff)
2000-11-27 Marcus Brinkmann <marcus@gnu.org>
The last two changes introduced two new inode overlaps (file_start was not shifted by store block size, and directories' shifted file_start offset can be the same as the struct dirrect offset of their first directory entry). * inode.c (use_file_start_as_id): New function to determine if to use file_start or struct dirrect * as node id. The directory recognition code comes from read_disknode. (cache_inode): Use use_file_start_as_id instead doing the work ourselve. Shift file_start by store->log2_block_size. (load_inode): Likewise. * lookup.c (diskfs_get_directs): Likewise. Declare use_file_start_id.
Diffstat (limited to 'mount')
0 files changed, 0 insertions, 0 deletions