linux/fs/xfs/linux-2.6
Christoph Hellwig a738159df2 [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 <hch@infradead.org>
Signed-off-by: Niv Sardi <xaiki@sgi.com>
Signed-off-by: David Chinner <david@fromorbit.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
2008-08-13 16:04:05 +10:00
..
2008-04-29 15:54:02 +10:00
2008-08-13 16:01:45 +10:00
2008-04-18 11:51:15 +10:00
2007-10-22 08:13:20 -07:00
2008-05-23 15:25:25 +10:00
2008-02-07 18:14:38 +11:00
2007-10-15 16:40:14 +10:00
2008-02-07 18:14:38 +11:00
2008-08-13 16:00:45 +10:00
2008-08-13 16:00:45 +10:00
2008-08-13 16:00:45 +10:00
2008-04-29 16:08:14 +10:00
2008-07-28 16:59:25 +10:00
2008-07-28 16:59:25 +10:00
2008-07-28 16:59:25 +10:00
2008-08-13 16:01:45 +10:00