From: Christoph Hellwig Date: Wed, 13 Aug 2008 06:04:05 +0000 (+1000) Subject: [XFS] don't leak m_fsname/m_rtname/m_logname X-Git-Tag: v2.6.27-rc4~106^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a738159df2b97398f960978272944cbdd8f726ef;p=pandora-kernel.git [XFS] don't leak m_fsname/m_rtname/m_logname 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. SGI-PV: 981498 SGI-Modid: xfs-linux-melb:xfs-kern:31728a Signed-off-by: Christoph Hellwig Signed-off-by: Niv Sardi Signed-off-by: David Chinner Signed-off-by: Lachlan McIlroy --- Reading git-diff-tree failed