[prev in list] [next in list] [prev in thread] [next in thread]
List: hurd-commit
Subject: hurd/isofs ChangeLog inode.c isofs.h lookup.c rr.c
From: Marcus Brinkmann <marcus () subversions ! gnu ! org>
Date: 2000-11-26 2:12:28
[Download RAW message or body]
CVSROOT: /home/cvs
Module name: hurd
Changes by: Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de> 00/11/25 18:12:27
Modified files:
isofs : ChangeLog inode.c isofs.h lookup.c rr.c
Log message:
2000-11-26 Marcus Brinkmann <marcus@gnu.org>
Closes Debian Bug #68417:
* rr.c (rrip_work): In helper function add_comp set targused to
zero after malloc, and loop over realloc in case doubling is not
enough. After finalizing the link, set VALID_SL valid flag.
* inode.c (read_disknode): For links use rl->target instead
rl->name.
Closes Debian Bug #69281: Don't use file_start as inode numbers,
but the offset of the directory record in disk_image. This is what
Linux 2.4 does.
* isofs.h (struct disknode): New member struct dirrect *dr.
* inode.c: Fix comment about inode numbers.
(struct node_cache): Fix comment about file_start (it's not unique).
In fact, file_start is invalid for symlinks, and only stored here
for convenience. Maybe caching file_start can be avoided by
rearranging the code.
(inode_cache_find): Change first argument from off_t file_start
to struct dirrect *dr and fix the doc.
Compare cached value of DR with this argument, instead FILE_START.
(diskfs_cached_lookup): Set DR member of DN.
(load_inode): Call inode_cache_find with RECORD instead FILE_START.
Set DR member of DN.
(read_disknode): Set inode number to DR - DISK_IMAGE instead
FILE_START.
* lookup.c (diskfs_get_directs): Remove variable file_start.
Don't calculate file_start. Set D_FILENO to EP - DISK_IMAGE
instead FILE_START.
CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/isofs/ChangeLog.diff?r1=1.23&r2=1.24
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/isofs/inode.c.diff?r1=1.9&r2=1.10
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/isofs/isofs.h.diff?r1=1.3&r2=1.4
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/isofs/lookup.c.diff?r1=1.6&r2=1.7
http://subversions.gnu.org/cgi-bin/cvsweb/hurd/isofs/rr.c.diff?r1=1.6&r2=1.7
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic