From fc97341f492be10f20e4c8a639614e0230d53471 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sat, 30 Dec 2000 19:11:29 +0000 Subject: 2000-12-30 Marcus Brinkmann * dir.c: Include , , (diskfs_get_directs): Cast *data to struct dirent *. * node.c: Include . (diskfs_alloc_node): Remove unused variables err, st, np. (diskfs_free_node): Use *np->dn, not *dn to calculate used space. (recompute_blocks): Replace DT_DEV with DT_BLK. (diskfs_node_norefs): Likewise. (recompute_blocks): Take address of np->dn_stat for pointer st. (diskfs_cached_lookup): New variable st. (diskfs_cached_lookup): Set st to &np->dn_stat, not &dn->dn_stat. (create_symlink_hook): Fix malloc call and return code check. (read_symlink_hook): Return 0. * tmpfs.c: Include , , , , . (parse_opt): Reverse second and third argument of strtoimax call. * tmpfs.h (struct disknode): Remove blind passenger (unnamed copy of anonymous struct {} reg). Some of the above were also reported by Alexey Dejneka . --- tmpfs/ChangeLog | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'tmpfs/ChangeLog') diff --git a/tmpfs/ChangeLog b/tmpfs/ChangeLog index 67a047ba..16d3ba0c 100644 --- a/tmpfs/ChangeLog +++ b/tmpfs/ChangeLog @@ -1,3 +1,29 @@ +2000-12-30 Marcus Brinkmann + + * dir.c: Include , , + (diskfs_get_directs): Cast *data to struct dirent *. + + * node.c: Include . + (diskfs_alloc_node): Remove unused variables err, st, np. + (diskfs_free_node): Use *np->dn, not *dn to calculate used space. + (recompute_blocks): Replace DT_DEV with DT_BLK. + (diskfs_node_norefs): Likewise. + (recompute_blocks): Take address of np->dn_stat for pointer st. + (diskfs_cached_lookup): New variable st. + (diskfs_cached_lookup): Set st to &np->dn_stat, not &dn->dn_stat. + (create_symlink_hook): Fix malloc call and return code check. + (read_symlink_hook): Return 0. + + * tmpfs.c: Include , , , , + . + (parse_opt): Reverse second and third argument of strtoimax call. + + * tmpfs.h (struct disknode): Remove blind passenger (unnamed copy + of anonymous struct {} reg). + + Some of the above were also reported by Alexey Dejneka + . + 2000-12-28 Roland McGrath * node.c (recompute_blocks): New function, broken out of ... -- cgit v1.2.3