Source-Changes archive

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

NetBSD master CVS tree commits



bouyer
Wed Jun 11 03:10:07 PDT 1997
Update of /cvsroot/src/sys/ufs/lfs
In directory netbsd1:/var/slash-tmp/cvs-serv16825/ufs/lfs

Modified Files:
        lfs_alloc.c lfs_balloc.c lfs_inode.c lfs_segment.c 
        lfs_syscalls.c lfs_vfsops.c lfs_vnops.c 
Log Message:
Add support for ext2fs, this needed a few modifications to ufs/ufs/inode.h:
- added an "union inode_ext" to struct inode, for the per-fs extentions.
  For now only ext2fs uses it.
- i_din is now an union:
        union {
                struct  dinode ffs_din; /* 128 bytes of the on-disk dinode. */
                struct ext2fs_dinode e2fs_din; /* 128 bytes of the on-disk 
dinode. */
        } i_din
  Added a lot of #define i_ffs_* and i_e2fs_* to access the fields.
- Added two macros: FFS_ITIMES and EXT2FS_ITIMES. ITIMES calls the rigth
  macro, depending on the time of the inode. ITIMES is used where necessary,
  FFS_ITIMES and EXT2FS_ITIMES in other places.


bouyer
Wed Jun 11 03:10:23 PDT 1997
Update of /cvsroot/src/sys/ufs/ufs
In directory netbsd1:/var/slash-tmp/cvs-serv16825/ufs/ufs

Modified Files:
        inode.h ufs_bmap.c ufs_inode.c ufs_lookup.c ufs_quota.c 
        ufs_readwrite.c ufs_vfsops.c ufs_vnops.c ufsmount.h 
Log Message:
Add support for ext2fs, this needed a few modifications to ufs/ufs/inode.h:
- added an "union inode_ext" to struct inode, for the per-fs extentions.
  For now only ext2fs uses it.
- i_din is now an union:
        union {
                struct  dinode ffs_din; /* 128 bytes of the on-disk dinode. */
                struct ext2fs_dinode e2fs_din; /* 128 bytes of the on-disk 
dinode. */
        } i_din
  Added a lot of #define i_ffs_* and i_e2fs_* to access the fields.
- Added two macros: FFS_ITIMES and EXT2FS_ITIMES. ITIMES calls the rigth
  macro, depending on the time of the inode. ITIMES is used where necessary,
  FFS_ITIMES and EXT2FS_ITIMES in other places.




Home | Main Index | Thread Index | Old Index