aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/inode.c
Commit message (Collapse)AuthorAgeFilesLines
* 1998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-09-041-25/+25
| | | | | | | | | * 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.
* (read_node):Miles Bader1997-06-031-5/+2
| | | | Don't assert that st_blocks is zero for non-dir/file/long-symlink inodes.
* (read_node):Miles Bader1996-11-201-2/+3
| | | | If SBLOCK->s_creator_os != EXT2_OS_HURD, set NP->author_tracks_uid to true.
* (diskfs_set_translator):Miles Bader1996-11-191-8/+11
| | | | | | | | | 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.
* (diskfs_validate_flags_change):Miles Bader1996-11-121-7/+48
| | | | | | | | | | | | | | | 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.
* (read_disknode):Miles Bader1996-09-231-1/+1
| | | | Use STORE->log2_block_size instead of LOG2_BLOCK_SIZE.
* (diskfs_cached_lookup): Initialize DN->dir_idx.Miles Bader1996-08-301-0/+1
|
* (read_disknode): Change assertion to allow non-zero st_size for anything, butMiles Bader1996-08-151-2/+5
| | | | assert that st_blocks == 0 for any case where we set allocsize to 0.
* (read_disknode): Don't set allocsize for in-inode symlinks.Miles Bader1996-08-121-9/+73
| | | | | | (MAX_INODE_SYMLINK): New macro. (write_symlink, read_symlink): New functions. (diskfs_create_symlink_hook, diskfs_read_symlink_hook): New variables.
* (diskfs_write_disknode):Miles Bader1996-08-021-2/+5
| | | | If WAIT is false, still record the write for later, using record_global_poke.
* (diskfs_cached_lookup): Don't initialize debugging info.Miles Bader1996-07-201-4/+0
|
* (diskfs_cached_lookup): Initialize debugging info.Miles Bader1996-07-171-0/+4
|
* (diskfs_cached_lookup): Use diskfs_check_readonly instead of diskfs_readonly.Miles Bader1996-06-251-1/+1
|
* (check_high_bits, diskfs_validate_owner_change,Miles Bader1996-06-241-4/+59
| | | | | | | 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.
* (read_disknode, write_inode):Miles Bader1996-06-151-13/+30
| | | | Use hurd-specific fields only on a hurd filesystem.
* (diskfs_set_statfs): Fix one reference to old name of ST member.Michael I. Bushnell1996-05-101-1/+1
|
* (diskfs_set_statfs): Expect and fill in new format statfs buffer.Michael I. Bushnell1996-05-101-10/+10
|
* (diskfs_write_disknode): Only sync DI if WAIT.Miles Bader1996-04-171-2/+2
|
* (diskfs_cached_lookup):Miles Bader1996-04-111-15/+25
| | | | | | | 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.
* (read_disknode): Don't set last_block_allocated.Miles Bader1996-01-181-1/+0
|
* (diskfs_node_norefs): When losing our in-core copy of an inode, rememberMiles Bader1996-01-151-0/+4
| | | | which indirect blocks still have to be written.
* (write_node): If NP isn't translated, force DI->i_translator to 0.Miles Bader1996-01-141-0/+2
|
* (diskfs_get_translator, diskfs_set_translator):Miles Bader1995-10-311-2/+6
| | | | | | 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'.
* (diskfs_node_reload): New function.Miles Bader1995-10-211-61/+40
| | | | | | | | | | (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.
* (diskfs_set_statfs): fsys_stb_bsize -> fsys_stb_iosize.Miles Bader1995-10-051-2/+2
| | | | fsys_stb_fsize -> fsys_stb_bsize.
* (diskfs_lost_hardrefs): Change pager [un]ref calls to use the new ports refMiles Bader1995-06-241-16/+37
| | | | | | calls directly instead. (diskfs_node_iterate): New function. (write_all_disknodes): Re-implemented using diskfs_node_iterate.
* (diskfs_get_translator): Conform to new memory usage semantic.Michael I. Bushnell1995-06-141-2/+1
|
* (diskfs_set_statfs): Set st->fsys_stb_bsize, not _fsize, to the block size.Miles Bader1995-05-141-2/+2
|
* (read_disknode): Make st_blksize larger: 2 * pagesize.Miles Bader1995-05-111-1/+1
|
* Formerly inode.c.~21~Miles Bader1995-05-011-10/+31
|
* Formerly inode.c.~20~Miles Bader1995-04-291-28/+53
|
* Formerly inode.c.~19~Miles Bader1995-04-271-0/+6
|
* Formerly inode.c.~18~Miles Bader1995-04-271-2/+3
|
* Formerly inode.c.~17~Miles Bader1995-04-251-4/+9
|
* Formerly inode.c.~16~Miles Bader1995-04-211-0/+2
|
* Formerly inode.c.~15~Miles Bader1995-04-201-37/+34
|
* Formerly inode.c.~14~Miles Bader1995-04-191-0/+2
|
* Formerly inode.c.~12~Miles Bader1995-04-171-3/+3
|
* Formerly inode.c.~11~Miles Bader1995-04-171-3/+3
|
* Formerly inode.c.~10~Miles Bader1995-04-161-1/+1
|
* Formerly inode.c.~9~Miles Bader1995-04-161-1/+1
|
* Formerly inode.c.~8~Miles Bader1995-04-151-19/+22
|
* Formerly inode.c.~7~Miles Bader1995-04-121-9/+39
|
* Formerly inode.c.~6~Miles Bader1995-04-111-149/+68
|
* Formerly inode.c.~5~Miles Bader1995-04-111-11/+11
|
* Initial revisionMiles Bader1995-04-111-0/+552