Date: Wed, 23 Jul 2003 10:14:45 -0700 From: David Schultz <das@FreeBSD.ORG> To: Divacky Roman <xdivac02@stud.fit.vutbr.cz> Cc: freebsd-current@FreeBSD.ORG Subject: Re: possible unionfs bug Message-ID: <20030723171445.GB14408@HAL9000.homeunix.com> In-Reply-To: <20030720130221.GA39671@stud.fit.vutbr.cz> References: <20030720130221.GA39671@stud.fit.vutbr.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 20, 2003, Divacky Roman wrote: > Hi, > > I might be wrong but this: > > free(mp->mnt_data, M_UNIONFSMNT); /* XXX */ > mp->mnt_data = 0; > > seems to me wrong.... and might cause crashes etc. > am I correct or wrong? > > its from union_vfsops.c:384 What's wrong with it? It's just freeing the memory it allocated earlier. FFS does the same thing.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030723171445.GB14408>