Home | History | Annotate | Download | only in ext2fs
History log of /src/sys/ufs/ext2fs/ext2fs_dinode.h
RevisionDateAuthorComments
 1.37  13-Jan-2017  christos Fix unsigned
 1.36  12-Aug-2016  jdolecek add support for extended attributes in ext2fs for ext3/ext4; read-only for now
 1.35  06-Aug-2016  jdolecek some more inode flags
 1.34  04-Aug-2016  jdolecek make E2MAXSYMLINKLEN just alias for EXT2_MAXSYMLINKLEN, they are the same
 1.33  04-Aug-2016  jdolecek move i_e2fs_* defines from ufs/inode.h to ext2fs/ext2fs_dinode.h, where they belong; they don't seem to be used anywhere else then ext2fs code any more
 1.32  04-Aug-2016  jdolecek rename struct ext2fs_dinode attribute e2di_dacl to correct
e2di_size_high; even Linux ext2 filesystem code actually uses it
unconditionally this way and ext4 code finally also calls it that way
in their struct definition too; if there was any trace of this for other
purpose it's long gone
 1.31  04-Aug-2016  nonaka include stddef.h for offsetof.

fix newfs_ext2fs build failure on evbppc.
 1.30  04-Aug-2016  nonaka pass isize to e2fs_i_bswap() if BYTE_ORDER != LITTLE_ENDIAN.
 1.29  03-Aug-2016  jdolecek get and set expanded timestamp if the inode contains the extra information, add support for create time
 1.28  03-Aug-2016  jdolecek support arbitrary ext3/ext4 inode size, add all the new ext4 fields ext2fs_dinode, and add support for loading the extra inode data
 1.27  02-Aug-2016  jdolecek adjust the comments for on-disk ext2fs inode to indicate which of the ext* was it implemented for linux kernel; makes it a bit easier to locate

split e2di_linux_reserved3 with e2di_extra_isize and e2di_checksum_high, tag as ext4
 1.26  22-Jan-2013  dholland branches: 1.26.14; 1.26.18;
Stuff UFS_ in front of a few of ufs's symbols to reduce namespace
pollution. Specifically:
ROOTINO -> UFS_ROOTINO
WINO -> UFS_WINO
NXADDR -> UFS_NXADDR
NDADDR -> UFS_NDADDR
NIADDR -> UFS_NIADDR
MAXSYMLINKLEN -> UFS_MAXSYMLINKLEN
MAXSYMLINKLEN_UFS[12] -> UFS[12]_MAXSYMLINKLEN (for consistency)

Sort out ext2fs's misuse of NDADDR and NIADDR; fortunately, these have
the same values in ext2fs and ffs.

No functional change intended.
 1.25  21-Nov-2012  jakllsch Add various newer Ext2 superblock feature bits and inode flag bits.
 1.24  19-Nov-2012  jakllsch - Add e2di_version, e2di_nblock_high, e2di_facl_high fields to ext2fs_dinode.

- Update i_e2fs_ aliases to match.

- ext2fs_bswap support for these ext2fs_dinode fields.

(e2di_version and e2di_facl_high replace previously reserved fields.
e2di_nblock_high was formerly e2di_nfrag and e2di_fsize, however these
are currently defined in e2fsprogs as only being relevant for HURD.)
 1.23  18-Nov-2012  jakllsch stylistic adjustment in comments
 1.22  27-Nov-2009  tsutsui branches: 1.22.12; 1.22.22;
Add definitions for more reserved inodes.
 1.21  19-Oct-2009  bouyer Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen
for the booring work !
 1.20  12-Sep-2009  tsutsui Migrate from u_intNN_t to uintNN_t.
 1.19  02-Mar-2009  tsutsui Don't use e2fs_inode_size in superblock on E2FS_REV0 file system.
 1.18  01-Mar-2009  christos PR/40936: Frederik Sausmikat: ext2fs: add support for inodes > 128 bytes
 1.17  23-Nov-2008  mrg branches: 1.17.4;
add support for 32 bit uid/gid fields in ext2, but only do so for
when the revision is > REV0.
 1.16  17-Nov-2007  tsutsui branches: 1.16.14; 1.16.18; 1.16.24; 1.16.26; 1.16.28;
Misc cosmetics.
 1.15  15-Nov-2007  tsutsui Add some definitions for resizefs features.
 1.14  11-Dec-2005  christos branches: 1.14.44; 1.14.46; 1.14.50; 1.14.52;
merge ktrace-lwp.
 1.13  30-Aug-2005  xtraeme * Remove __P()
* Use ANSI function declarations on ext2fs and mfs
 1.12  26-Feb-2005  perry branches: 1.12.4;
nuke trailing whitespace
 1.11  22-Mar-2004  bouyer branches: 1.11.8; 1.11.10;
Fix disclaimer in my copyright. Pointed out by Thomas Klausner.
 1.10  05-Oct-2003  bouyer Remove references to University of California from my copyright notices.
 1.9  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.8  06-Jan-2003  wiz branches: 1.8.2;
writable, not writeable.
 1.7  01-Dec-2002  matt Add multiple inclusion protection for headers. Fix mismatched
variable declarations (missing const's) as needed.
 1.6  26-Jan-2000  bouyer branches: 1.6.6;
First cut at ext2fs rev 1 support (as of mke2fs 1.18): supports the filetype
option read/write and the sparse option read-only.
 1.5  23-Oct-1998  thorpej branches: 1.5.12;
For consistency w/ FFS/LFS, define EXT2_DINODE_SIZE, and use it instead
of pointer arithmetic and/or sizeof(struct ext2fs_dinode).
 1.4  13-Sep-1998  christos Fix copyright '\t' -> ' '
 1.3  09-Aug-1998  perry bzero->memset, bcopy->memcpy, bcmp->memcmp
 1.2  09-Oct-1997  bouyer Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
 1.1  11-Jun-1997  bouyer branches: 1.1.4;
The ext2fs layer, based on the ffs/ufs one. Uses a few functions from
sys/ufs/ufs/
 1.1.4.1  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.5.12.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.6.6.2  07-Jan-2003  thorpej Sync with HEAD.
 1.6.6.1  11-Dec-2002  thorpej Sync with HEAD.
 1.8.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.8.2.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.8.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.8.2.1  03-Aug-2004  skrll Sync with HEAD
 1.11.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.11.8.1  29-Apr-2005  kent sync with -current
 1.12.4.2  07-Dec-2007  yamt sync with head
 1.12.4.1  21-Jun-2006  yamt sync with head.
 1.14.52.1  19-Nov-2007  mjf Sync with HEAD.
 1.14.50.1  18-Nov-2007  bouyer Sync with HEAD
 1.14.46.1  09-Jan-2008  matt sync with HEAD
 1.14.44.1  21-Nov-2007  joerg Sync with HEAD.
 1.16.28.2  16-Jan-2011  bouyer 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.
 1.16.28.1  29-Nov-2008  snj Pull up following revision(s) (requested by mrg in ticket #147):
sys/ufs/ext2fs/ext2fs_alloc.c: revision 1.37
sys/ufs/ext2fs/ext2fs_bswap.c: revision 1.14
sys/ufs/ext2fs/ext2fs_dinode.h: revision 1.17
sys/ufs/ext2fs/ext2fs_lookup.c: revision 1.56
sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.83
sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.140
sys/ufs/ufs/inode.h: revision 1.55
add support for 32 bit uid/gid fields in ext2, but only do so for
when the revision is > REV0.
 1.16.26.2  03-Mar-2009  skrll Sync with HEAD.
 1.16.26.1  19-Jan-2009  skrll Sync with HEAD.
 1.16.24.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.16.18.3  11-Mar-2010  yamt sync with head
 1.16.18.2  16-Sep-2009  yamt sync with head
 1.16.18.1  04-May-2009  yamt sync with head.
 1.16.14.1  17-Jan-2009  mjf Sync with HEAD.
 1.17.4.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.22.22.3  03-Dec-2017  jdolecek update from HEAD
 1.22.22.2  25-Feb-2013  tls resync with head
 1.22.22.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.22.12.2  23-Jan-2013  yamt sync with head
 1.22.12.1  16-Jan-2013  yamt sync with (a bit old) head
 1.26.18.2  20-Mar-2017  pgoyette Sync with HEAD
 1.26.18.1  06-Aug-2016  pgoyette Sync with HEAD
 1.26.14.2  05-Feb-2017  skrll Sync with HEAD
 1.26.14.1  05-Oct-2016  skrll Sync with HEAD

RSS XML Feed