diff options
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); |