diff options
author | phk <phk@FreeBSD.org> | 2004-10-29 10:41:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-10-29 10:41:44 +0000 |
commit | e172d33222a3bbc7f97ab392f18ef13ed0a1116b (patch) | |
tree | f2ec249b9eca34b1a52932d3d496347f84fcd02e /sys/fs/cd9660/cd9660_node.c | |
parent | 6dbcd5fd091cd06ac853f27276cb7f316af8eab9 (diff) | |
download | FreeBSD-src-e172d33222a3bbc7f97ab392f18ef13ed0a1116b.zip FreeBSD-src-e172d33222a3bbc7f97ab392f18ef13ed0a1116b.tar.gz |
Move CD9660 to GEOM backing instead of DEVFS.
For details, please see src/sys/ufs/ffs/ffs_vfsops.c 1.250.
Diffstat (limited to 'sys/fs/cd9660/cd9660_node.c')
-rw-r--r-- | sys/fs/cd9660/cd9660_node.c | 6 |
1 files changed, 2 insertions, 4 deletions
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); |