Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2013 02:49:18 +0000 (UTC)
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r255867 - head/sys/fs/cd9660
Message-ID:  <201309250249.r8P2nIAg039118@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jmg
Date: Wed Sep 25 02:49:18 2013
New Revision: 255867
URL: http://svnweb.freebsd.org/changeset/base/255867

Log:
  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

Modified:
  head/sys/fs/cd9660/cd9660_vfsops.c

Modified: head/sys/fs/cd9660/cd9660_vfsops.c
==============================================================================
--- head/sys/fs/cd9660/cd9660_vfsops.c	Wed Sep 25 02:48:12 2013	(r255866)
+++ head/sys/fs/cd9660/cd9660_vfsops.c	Wed Sep 25 02:49:18 2013	(r255867)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309250249.r8P2nIAg039118>