diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1996-06-27 06:48:42 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1996-06-27 06:48:42 +0000 |
commit | 1463976361b16c32da4f4149859180b6efee948f (patch) | |
tree | 682ddedc77adda5041c8403a9b114fde412894c8 /sys/gnu/ext2fs/ext2_vfsops.c | |
parent | c44f52ac254c58c08440723b3faa949c0a70a9c0 (diff) |
Changed to match UFS changes; remove old file.
Diffstat (limited to 'sys/gnu/ext2fs/ext2_vfsops.c')
-rw-r--r-- | sys/gnu/ext2fs/ext2_vfsops.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index 825e70e0446..6223c32b3bb 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/ext2fs/ext2_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ext2_vfsops.c,v 1.2 1996/06/24 10:23:21 downsj Exp $ */ +/* $OpenBSD: ext2_vfsops.c,v 1.3 1996/06/27 06:48:41 downsj Exp $ */ /* * modified for EXT2FS support in Lites 1.1 @@ -640,6 +640,7 @@ ext2_mountfs(devvp, mp, p) ump->um_nindir = EXT2_ADDR_PER_BLOCK(fs); ump->um_bptrtodb = fs->s_es->s_log_block_size + 1; ump->um_seqinc = EXT2_FRAGS_PER_BLOCK(fs); + ump->um_dirops = &ext2fs_dirops; for (i = 0; i < MAXQUOTAS; i++) ump->um_quotas[i] = NULLVP; devvp->v_specflags |= SI_MOUNTEDON; @@ -886,7 +887,6 @@ ext2_vget(mp, ino, vpp) { register struct ext2_sb_info *fs; register struct inode *ip; - register struct ext2_inode_info *e2ip; struct ufsmount *ump; struct buf *bp; struct vnode *vp; @@ -926,17 +926,12 @@ restart: type = ump->um_devvp->v_tag == VT_MFS ? M_MFSNODE : M_FFSNODE; /* XXX */ MALLOC(ip, struct inode *, sizeof(struct inode), type, M_WAITOK); bzero((caddr_t)ip, sizeof(struct inode)); - MALLOC(e2ip, struct ext2_inode_info *, sizeof(struct ext2_inode_info), - type, M_WAITOK); - bzero((caddr_t)e2ip, sizeof(struct ext2_inode_info)); vp->v_data = ip; ip->i_vnode = vp; ip->i_e2fs = fs = ump->um_e2fs; ip->i_dev = dev; ip->i_number = ino; - ip->i_dirops = &ext2fs_dirops; - ip->i_e2ext = e2ip; #if QUOTA for (i = 0; i < MAXQUOTAS; i++) ip->i_dquot[i] = NODQUOT; |