diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c index d1fbd0100668..1ff817c1f00a 100644 --- a/sys/fs/cd9660/cd9660_vfsops.c +++ b/sys/fs/cd9660/cd9660_vfsops.c @@ -753,7 +753,6 @@ cd9660_vget_internal(mp, ino, flags, vpp, relocated, isodir) imp->logical_block_size, NOCRED, &bp); if (error) { vput(vp); - brelse(bp); printf("fhtovp: bread error %d\n",error); return (error); } diff --git a/sys/fs/cd9660/cd9660_vnops.c b/sys/fs/cd9660/cd9660_vnops.c index 27a186964a80..a923bd2da551 100644 --- a/sys/fs/cd9660/cd9660_vnops.c +++ b/sys/fs/cd9660/cd9660_vnops.c @@ -689,7 +689,6 @@ cd9660_readlink(ap) (imp->im_bshift - DEV_BSHIFT), imp->logical_block_size, NOCRED, &bp); if (error) { - brelse(bp); return (EINVAL); }