From dc2dab730aeb4019ebc3f5c74b5905a6eb7aacbd Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 6 Nov 2004 18:18:58 +0000 Subject: Get closer to unbreaking ext2fs --- sys/gnu/ext2fs/ext2_vfsops.c | 2 ++ sys/gnu/fs/ext2fs/ext2_vfsops.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'sys/gnu') diff --git a/sys/gnu/ext2fs/ext2_vfsops.c b/sys/gnu/ext2fs/ext2_vfsops.c index 5de410e..4336c7c 100644 --- a/sys/gnu/ext2fs/ext2_vfsops.c +++ b/sys/gnu/ext2fs/ext2_vfsops.c @@ -732,6 +732,8 @@ ext2_mountfs(devvp, mp, td) ump->um_mountp = mp; ump->um_dev = dev; ump->um_devvp = devvp; + ump->um_bo = &devvp->v_bufobj; + ump->um_cp = cp; /* setting those two parameters allowed us to use ufs_bmap w/o changse ! */ diff --git a/sys/gnu/fs/ext2fs/ext2_vfsops.c b/sys/gnu/fs/ext2fs/ext2_vfsops.c index 5de410e..4336c7c 100644 --- a/sys/gnu/fs/ext2fs/ext2_vfsops.c +++ b/sys/gnu/fs/ext2fs/ext2_vfsops.c @@ -732,6 +732,8 @@ ext2_mountfs(devvp, mp, td) ump->um_mountp = mp; ump->um_dev = dev; ump->um_devvp = devvp; + ump->um_bo = &devvp->v_bufobj; + ump->um_cp = cp; /* setting those two parameters allowed us to use ufs_bmap w/o changse ! */ -- cgit v1.1