Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 244d5cfa888ce4ebbf71aa49a4dfe0ca293be27c 1 parent 903f659
jmg authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 sys/fs/cd9660/cd9660_vfsops.c
View
5 sys/fs/cd9660/cd9660_vfsops.c
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.