aboutsummaryrefslogtreecommitdiff
path: root/tmpfs
Commit message (Collapse)AuthorAgeFilesLines
...
* .Roland McGrath2001-02-261-0/+2
|
* 2001-02-26 Roland McGrath <roland@frob.com>Roland McGrath2001-02-261-2/+12
| | | | | | | | * node.c (diskfs_free_node): Reset hnext's hprevp. (diskfs_node_norefs): Likewise. (diskfs_cached_lookup): Fix insane code for finding existing node ptr. (diskfs_get_filemap_pager_struct): Remove spurious assert. (diskfs_get_filemap): Always add a reference to the send right.
* .Roland McGrath2001-02-261-0/+14
|
* 2001-02-26 Roland McGrath <roland@frob.com>Roland McGrath2001-02-261-23/+42
| | | | | | * dir.c (diskfs_get_directs): When using st_size, calculate additional space for . and .. entries. Skip . and .. entries when ENTRY says to. Set d_fileno=2 for .. entry when it is the parent of the filesystem.
* 2001-02-26 Roland McGrath <roland@frob.com>Roland McGrath2001-02-261-2/+6
| | | | | | * node.c (diskfs_free_node): Reset hnext's hprevp. (diskfs_node_norefs): Likewise. (diskfs_cached_lookup): Fix insane code for finding existing node ptr.
* 2001-02-26 Roland McGrath <roland@frob.com>Roland McGrath2001-02-261-2/+7
| | | | | | * tmpfs.c (main): Don't lock diskfs_root_node after alloc, which already locks it. In root node's mode, clear S_ITRANS bits and set S_IROOT bit.
* .Roland McGrath2001-02-261-1/+13
|
* 2001-02-25 Roland McGrath <roland@frob.com>Roland McGrath2001-02-261-3/+16
| | | | | | * node.c (diskfs_S_file_get_storage_info): New function. * tmpfs.c (diskfs_synchronous): New variable. * node.c: #include <mach/default_pager.h>.
* 2001-02-25 Roland McGrath <roland@frob.com>Roland McGrath2001-02-261-1/+4
| | | | | * node.c (diskfs_S_file_get_storage_info): New function. * tmpfs.c (diskfs_synchronous): New variable.
* 2001-02-25 Roland McGrath <roland@frob.com>Roland McGrath2001-02-261-6/+14
| | | | * dir.c (diskfs_lookup_hard): Look up .. disknode's in-core node.
* 2001-02-25 Roland McGrath <roland@frob.com>Roland McGrath2001-02-262-2/+90
| | | | | * pager-stubs.c: New file. * Makefile (SRCS): Add it.
* 2000-12-30 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2000-12-305-24/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | * dir.c: Include <stddef.h>, <unistd.h>, <sys/mman.h> (diskfs_get_directs): Cast *data to struct dirent *. * node.c: Include <stddef.h>. (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 <argp.h>, <string.h>, <inttypes.h>, <argz.h>, <error.h>. (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 <adejneka@comail.ru>.
* .Roland McGrath2000-12-291-0/+7
|
* 2000-12-28 Roland McGrath <roland@frob.com>Roland McGrath2000-12-291-30/+40
| | | | | | | * node.c (recompute_blocks): New function, broken out of ... (diskfs_cached_lookup): here. Now use call that. (diskfs_set_translator): Likewise. (create_symlink_hook): Likewise. Do nothing for zero-length target.
* New directory tmpfs, in-core filesystem based on libdiskfsRoland McGrath2000-12-276-0/+1132