diff options
author | dyson <dyson@FreeBSD.org> | 1995-11-05 23:36:07 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1995-11-05 23:36:07 +0000 |
commit | aa3705d78b7fc12ce3cf9e9a7437407154f241c8 (patch) | |
tree | 094e249a07c170c776bf0f48af3af60a7a2e1f6e /sys/gnu/fs | |
parent | 65a271ba6d03e08c6a9486e645d658f5a04f03a6 (diff) | |
download | FreeBSD-src-aa3705d78b7fc12ce3cf9e9a7437407154f241c8.zip FreeBSD-src-aa3705d78b7fc12ce3cf9e9a7437407154f241c8.tar.gz |
Changes to existing files for ext2fs support. The UFS mods need rework
in the future as they are a bit crufty -- but at least the stuff is in the
tree now.
Diffstat (limited to 'sys/gnu/fs')
-rw-r--r-- | sys/gnu/fs/ext2fs/ext2_mount.h | 5 | ||||
-rw-r--r-- | sys/gnu/fs/ext2fs/inode.h | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sys/gnu/fs/ext2fs/ext2_mount.h b/sys/gnu/fs/ext2fs/ext2_mount.h index 02fdff2..e085b8b 100644 --- a/sys/gnu/fs/ext2fs/ext2_mount.h +++ b/sys/gnu/fs/ext2fs/ext2_mount.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ufsmount.h 8.2 (Berkeley) 1/12/94 - * $Id: ufsmount.h,v 1.2 1994/08/02 07:55:04 davidg Exp $ + * $Id: ufsmount.h,v 1.3 1994/08/21 07:16:18 paul Exp $ */ #ifndef _UFS_UFS_UFSMOUNT_H_ @@ -54,9 +54,12 @@ struct ufsmount { union { /* pointer to superblock */ struct lfs *lfs; /* LFS */ struct fs *fs; /* FFS */ + struct ext2_sb_info *e2fs; /* EXT2FS */ } ufsmount_u; #define um_fs ufsmount_u.fs #define um_lfs ufsmount_u.lfs +#define um_e2fs ufsmount_u.e2fs +#define um_e2fsb ufsmount_u.e2fs->s_es struct vnode *um_quotas[MAXQUOTAS]; /* pointer to quota files */ struct ucred *um_cred[MAXQUOTAS]; /* quota file access cred */ u_long um_nindir; /* indirect ptrs per block */ diff --git a/sys/gnu/fs/ext2fs/inode.h b/sys/gnu/fs/ext2fs/inode.h index 00105ea..7ff725b 100644 --- a/sys/gnu/fs/ext2fs/inode.h +++ b/sys/gnu/fs/ext2fs/inode.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)inode.h 8.4 (Berkeley) 1/21/94 - * $Id: inode.h,v 1.5 1995/04/24 05:13:11 dyson Exp $ + * $Id: inode.h,v 1.6 1995/05/30 08:15:30 rgrimes Exp $ */ #ifndef _UFS_UFS_INODE_H_ @@ -74,9 +74,11 @@ struct inode { union { /* Associated filesystem. */ struct fs *fs; /* FFS */ struct lfs *lfs; /* LFS */ + struct ext2_sb_info *e2fs; /* EXT2FS */ } inode_u; #define i_fs inode_u.fs #define i_lfs inode_u.lfs +#define i_e2fs inode_u.e2fs struct dquot *i_dquot[MAXQUOTAS]; /* Dquot structures. */ u_quad_t i_modrev; /* Revision level for lease. */ struct lockf *i_lockf; /* Head of byte-level lock list. */ |