Age | Commit message (Collapse) | Author |
|
* pager.c: Clamp the number of free pages we keep around to some
reasonably small value. Patch from Mark Kettenis
<kettenis@wins.uva.nl>.
1999-06-15 Thomas Bushnell, BSG <tb@mit.edu>
* inode.c (diskfs_validate_flags_change): Invert sense of test wrt
bits that haven't yet been defined. Reported by Kalle Olavi
Niemitalo <tosi@ees2.oulu.fi>.
|
|
* inode.c (diskfs_set_statfs): Remove __ from struct members.
1998-12-21 Mark Kettenis <kettenis@phys.uva.nl>
* inode.c (diskfs_set_statfs): Fill in statfs members that are
used to implement statvfs.
|
|
* inode.c (diskfs_write_disknode): Add braces to silence warning.
* pager.c (file_pager_read_page): Likewise.
|
|
* dir.c (dirscanblock): Fix defn with `const'.
(diskfs_direnter_hard): Likewise.
* inode.c (diskfs_create_symlink_hook): Likewise.
(write_symlink): Likewise.
* dir.c (diskfs_lookup_hard): Fix defn with `const'.
* inode.c (diskfs_set_translator): Likewise.
|
|
Don't assert that st_blocks is zero for non-dir/file/long-symlink inodes.
|
|
If SBLOCK->s_creator_os != EXT2_OS_HURD, set NP->author_tracks_uid to true.
|
|
Frob S_IPTRANS bit rather than istranslated field.
(write_node):
Don't write S_IPTRANS to disk.
(read_node):
Set S_IPTRANS bit in ST->st_mode (and clear S_ITRANS) rather than
NP->istranslated.
|
|
New function.
(write_node):
Convert generic flags in ST->st_flags to ext2- specific flags in
DI->i_flags.
(read_node):
Renamed from read_disknode; all callers changed.
Convert ext2-specific flags on disk to generic flags in ST.
[!UF_APPEND] (UF_APPEND): New macro (temporary).
[!UF_NODUMP] (UF_NODUMP): New macro (temporary).
[!UF_IMMUTABLE] (UF_IMMUTABLE): New macro (temporary).
<sys/stat.h>:
New include.
|
|
Use STORE->log2_block_size instead of LOG2_BLOCK_SIZE.
|
|
|
|
assert that st_blocks == 0 for any case where we set allocsize to 0.
|
|
(MAX_INODE_SYMLINK): New macro.
(write_symlink, read_symlink): New functions.
(diskfs_create_symlink_hook, diskfs_read_symlink_hook): New variables.
|
|
If WAIT is false, still record the write for later, using record_global_poke.
|
|
|
|
|
|
|
|
diskfs_validate_group_change, diskfs_validate_mode_change,
diskfs_validate_author_change): New functions.
(write_node): For non-hurd filesystems, assert that no hurd
extensions should be used.
|
|
Use hurd-specific fields only on a hurd filesystem.
|
|
|
|
|
|
|
|
Renamed from iget; all uses updated.
Initialize the CACHE_ID field in the new node.
Replace references to the NUMBER field in a node's disknode structures with
references to the CACHE_ID field in the node.
|
|
|
|
which indirect blocks still have to be written.
|
|
|
|
Only support these if the filesystem's creator-os is `hurd'.
(read_disknode):
Only check the i_translator field if the filesystem's creator-os is `hurd'.
|
|
(iget, read_disknode):
Code to set allocsize and the last_* fields moved from iget to read_disknode.
(read_disknode): Add DN and OFFSET variables.
Use log2_block_size to mask instead of doing a modulo with block_size.
(diskfs_node_norefs, iget): Use pager field, not fileinfo.
(iget): Use DISK_PAGER directly, not ->p.
(diskfs_lost_hardrefs): #ifdef'd out contents removed.
|
|
fsys_stb_fsize -> fsys_stb_bsize.
|
|
calls directly instead.
(diskfs_node_iterate): New function.
(write_all_disknodes): Re-implemented using diskfs_node_iterate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|