Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-5] src/sbin/newfs_ext2fs

Module Name:    src
Committed By:   jdc
Date:           Mon Jan 17 12:45:00 UTC 2011

Modified Files:
        src/sbin/newfs_ext2fs [netbsd-5]: extern.h

Log Message:
Add change :
        sbin/newfs_ext2fs/extern.h: revision 1.3
required for ticket #1486.  Original commit message was:

Pull up following revision(s) (requested by tsutsui in ticket #1486):
        sbin/fsck_ext2fs/setup.c: revision 1.26
        sbin/newfs_ext2fs/mke2fs.c: revision 1.10
        sbin/newfs_ext2fs/mke2fs.c: revision 1.11
        sbin/newfs_ext2fs/mke2fs.c: revision 1.12
        sbin/fsck_ext2fs/inode.c: revision 1.24
        sys/lib/libsa/ext2fs.c: revision 1.6
        sbin/newfs_ext2fs/extern.h: revision 1.3
        sbin/fsck_ext2fs/inode.c: revision 1.25
        sys/lib/libsa/ext2fs.c: revision 1.7
        sbin/fsck_ext2fs/inode.c: revision 1.26
        sys/ufs/ext2fs/ext2fs_inode.c: revision 1.68
        sbin/fsck_ext2fs/inode.c: revision 1.27
        sbin/fsck_ext2fs/inode.c: revision 1.28
        sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.18
        sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.19
        sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.5
        sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.2
        sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.6
        sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.3
        sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.142
        sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.7
        sbin/newfs_ext2fs/newfs_ext2fs.8: revision 1.4
        sbin/newfs_ext2fs/newfs_ext2fs.c: revision 1.8
PR/40936: Frederik Sausmikat: ext2fs: add support for inodes > 128 bytes
Support variable inode sizes.
catch up with variable inode size.
Don't use e2fs_inode_size in superblock on E2FS_REV0 file system.
- accept only EXT2_REV0_DINODE_SIZE inodesize on -O 0
- use inodesize to get offset of inode, not struct ext2fs_dinode array
Replace a magic number with a new EXT2_REV0_DINODE_SIZE macro.
Use EXT2_DINODE_SIZE() to get offset of inode, not struct ext2fs_dinode array.
Fix botched logic in inodesize check.
Use inodesize to get offset of inode in one more place.
- add a sanity check for e2fs_inode_size in readsb()
- use EXT2_DINODE_SIZE() rather than sizeof(struct ext2fs_dinode) or
  struct ext2fs_dinode array/pointer to see e2fs_ipb and inode offsets
Sort options.
New sentence, new line.
Sort options in usage.
- unsigned -> unsigned int
- remove unnecessary casts from malloc(3) and free(3)
- fix a bogus indent
Use "size > INT32_MAX" rather than "size >= 0x80000000U" to check 2GB limit.
Add missed byteswap ops against ext2fs_dinode members.
Handle 32 bit uid field on E2FS_REV1.

To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.12.1 src/sbin/newfs_ext2fs/extern.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index