From e172d33222a3bbc7f97ab392f18ef13ed0a1116b Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 29 Oct 2004 10:41:44 +0000 Subject: Move CD9660 to GEOM backing instead of DEVFS. For details, please see src/sys/ufs/ffs/ffs_vfsops.c 1.250. --- sys/fs/cd9660/cd9660_node.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/fs/cd9660/cd9660_node.c') diff --git a/sys/fs/cd9660/cd9660_node.c b/sys/fs/cd9660/cd9660_node.c index 5091378..dd5aaa4 100644 --- a/sys/fs/cd9660/cd9660_node.c +++ b/sys/fs/cd9660/cd9660_node.c @@ -216,10 +216,8 @@ cd9660_reclaim(ap) /* * Purge old data structures associated with the inode. */ - if (ip->i_devvp) { - vrele(ip->i_devvp); - ip->i_devvp = 0; - } + if (ip->i_mnt->im_devvp) + vrele(ip->i_mnt->im_devvp); FREE(vp->v_data, M_ISOFSNODE); vp->v_data = NULL; return (0); -- cgit v1.1