NULL stale pointers (should be a no-op as they should no longer be

used)...

Reviewed by:	dteske
Approved by:	re (kib)
Sponsored by:	Vicor
MFC after:	3 days
This commit is contained in:
John-Mark Gurney 2013-09-25 02:49:18 +00:00
parent fb180e2186
commit c9b24e38e8

View File

@ -369,6 +369,9 @@ iso_mountfs(devvp, mp)
pribp->b_flags |= B_AGE;
brelse(pribp);
pribp = NULL;
rootp = NULL;
pri = NULL;
pri_sierra = NULL;
mp->mnt_data = isomp;
mp->mnt_stat.f_fsid.val[0] = dev2udev(dev);
@ -411,6 +414,7 @@ iso_mountfs(devvp, mp)
bp->b_flags |= B_AGE;
brelse(bp);
bp = NULL;
rootp = NULL;
}
if (isomp->im_flags & ISOFSMNT_KICONV && cd9660_iconv) {
@ -465,6 +469,7 @@ iso_mountfs(devvp, mp)
if (supbp) {
brelse(supbp);
supbp = NULL;
sup = NULL;
}
return 0;