From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30) id 1AyKz5-0005pb-Ij for User-mode-linux-devel@lists.sourceforge.net; Tue, 02 Mar 2004 17:15:39 -0800 Received: from [12.177.129.25] (helo=ccure.user-mode-linux.org) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1AyKU2-0005y0-Jb for User-mode-linux-devel@lists.sourceforge.net; Tue, 02 Mar 2004 16:43:34 -0800 Message-Id: <200403030133.i231XJWo004412@ccure.user-mode-linux.org> In-Reply-To: Your message of "Tue, 02 Mar 2004 18:37:15 EST." <40451AAB.5050304@nortelnetworks.com> References: <4043B42A.10803@nortelnetworks.com> <200403020100.i2210dM9025649@ccure.user-mode-linux.org> <4044A368.8050406@nortelnetworks.com> <200403022054.i22KslWo003006@ccure.user-mode-linux.org> <40450A08.8090608@nortelnetworks.com> <200403022322.i22NM8Wo003853@ccure.user-mode-linux.org> <40451AAB.5050304@nortelnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: Jeff Dike Subject: [uml-devel] Re: problems with UML -- new data with memory debugging on Sender: user-mode-linux-devel-admin@lists.sourceforge.net Errors-To: user-mode-linux-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: The user-mode Linux development list List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 02 Mar 2004 20:33:19 -0500 To: Chris Friesen Cc: User-mode-linux-devel cfriesen@nortelnetworks.com said: > I turned on memory debugging, and got the following. Line 1439 in > slab.c is Excellent. Can you add the following to hostfs_read_super (not a real patch - add that line by hand)? out_dput: dput(sb->s_root); + return(NULL); out_free: kfree(root_dir); The dput is doing some cleanup for me that I wasn't aware of, including freeing stuff. Jeff ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel