xfs
[Top] [All Lists]

Re: [PATCH 1/4] don't leak m_fsname/m_rtname/m_logname

To: Christoph Hellwig <hch@xxxxxx>
Subject: Re: [PATCH 1/4] don't leak m_fsname/m_rtname/m_logname
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 22 Jul 2008 08:59:31 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20080525190736.GA13372@xxxxxx>
Mail-followup-to: Christoph Hellwig <hch@xxxxxx>, xfs@xxxxxxxxxxx
References: <20080525190736.GA13372@xxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.18 (2008-05-17)
On Sun, May 25, 2008 at 09:07:37PM +0200, Christoph Hellwig wrote:
> Add a helper to free the m_fsname/m_rtname/m_logname allocations and use
> it properly for all mount failure cases.  Also switch the allocations
> for these to kstrdup while we're at it.

Looks good.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx


<Prev in Thread] Current Thread [Next in Thread>