Age | Commit message (Collapse) | Author |
|
* ialloc.c (diskfs_alloc_node): Propagate initial value of i_flags
from directory, as Linux 2.3.14 does.
|
|
* ext2_fs.h, ext2_fs_i.h: Replaced with Linux 2.3.14 versions.
* ext2fs.h (i_mode_high): New macro, missing from ext_fs.h.
|
|
* balloc.c (ext2_new_block): Take new arg PREALLOC_GOAL.
Use that instead of hard-coded 8 as maximum of blocks to preallocate.
Also test that instead of PREALLOC_COUNT to decide whether to
try any preallocation at all.
* getblk.c (ext2_alloc_block): Pass new arg to ext2_new_block.
Use EXT2_DEFAULT_PREALLOC_BLOCKS as default (replaces hard-coded 8);
For a regular file, use SBLOCK->s_prealloc_blocks before default.
For a directory, use SBLOCK->s_dir_prealloc_blocks if the
EXT2_FEATURE_COMPAT_DIR_PREALLOC flag is set, otherwise zero.
* inode.c (diskfs_set_translator): Pass new arg (zero).
|
|
* inode.c (write_node): Get i_flags from NP->dn->info instead of from
the disk inode, so we can have modified the in-core version.
* dir.c (diskfs_direnter_hard, diskfs_dirremove_hard,
diskfs_dirrewrite_hard): Clear EXT2_BTREE_FL flag bit from
DP->dn->info.i_flags after modifying the directory (this is what
Linux 2.3.14 does).
* dir.c: Replace `struct ext2_dir_entry' with `struct ext2_dir_entry_2'
in all uses.
(ext2_file_type): New static const variable.
(diskfs_get_directs): Set d_type member based on file_type field in
directory entry.
|
|
|
|
* bootstrap.c (parse_script): Add one to the buffer size so we can
null-terminate after the end of the file.
|
|
|
|
* portinfo.c (options): Doc fixes from Marcus.
|
|
|
|
|
|
* mktime.c: File removed. Current libc code is good.
* Makefile (SRCS): Remove mktime.c.
|
|
|
|
* open.c (ftp_conn_open): Ignore error from ftp_conn_sysify;
it's ok if we can't successfully deal. If we didn't sysify
successfully before login, then try again afterwards.
|
|
* open.c (ftp_conn_sysify): Handle REPLY_NO_LOGIN from "syst".
|
|
|
|
|
|
* Makefile (split-init): Set to `yes' by default.
|
|
|
|
* dir-rmdir.c (diskfs_S_dir_rmdir): Fix bugs in last change.
Replace label `out' with local inline function `done'.
Don't try diskfs_nput (NP) when NP is null.
|
|
|
|
* term.h (ILCASE, OLCASE): Use IUCLC, OLCUC if defined.
|
|
* Makefile (targets): Remove freeauth, added accidentally.
|
|
|
|
* ext2_file_io.c, ffs_file_io.c, minix_file_io.c: Remove fs-specific
routines *_page_{read,write}_file_direct. Moved to ...
* file_io.c (page_read_file_direct, page_write_file_direct): Don't
call fs-specific routine, these are not fs-specific. Instead,
replaced with former fs-specific routines (which were all identical).
Read and write more than a fs block when disk blocks are contiguous.
|
|
|
|
* default_pager.c (new_partition): When reading Linux signature page,
handle pager_read_file_direct returning sub-page blocks.
|
|
|
|
* exec.c (servercopy): Removed unused variable.
|
|
|
|
* rpctrace.c (rewrite_right): If we see our own wrapper right,
unwrap and replace it with the original send right.
(trace_and_forward): Remove vm_map special case.
|
|
|
|
* dir-link.c (diskfs_S_dir_link): Fix error checks on ports.
If DIRCRED (receiver port) is bad, return EOPNOTSUPP.
If FILECRED (argument port) is bad, return EXDEV (after EROFS check).
|
|
|
|
|
|
* rpctrace.c: Mostly rewritten. Now mostly working with skeletal
functionality.
|
|
|
|
* rpctrace.c: New file, from josem and gord. Not yet functional.
* Makefile (rpctrace): New target.
(targets): Add rpctrace.
(SRCS): Add rpctrace.c.
|
|
|
|
|
|
* file-get-storage-info.c: Add #include <sys/mman.h>.
* file-get-translator.c: Likewise.
|
|
* portinfo.h: Don't include <sys/types.h>, <sys/mman.h>.
This is an exported header, and its decls don't need them.
* portinfo.c: Include them here instead.
* xportinfo.c: And here.
|
|
|
|
* firmlink.c: Add #include <sys/mman.h>.
|
|
|
|
* proc.h: Add #include <sys/mman.h>.
|
|
* firmlink.c: Add #include <sys/mman.h>.
(trivfs_S_io_read): Fix sloppy bugs in last change.
|
|
* term.h: Add #include <sys/mman.h>.
|
|
* dev.c (dev_read: ensure_buf): Fix sloppy bugs in last change.
|
|
* sock.h: Add #include <sys/mman.h>.
|
|
* pfinet.h: Add #include <sys/mman.h> for munmap decl.
|