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:
parent
fb180e2186
commit
c9b24e38e8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user