summaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/mrlock.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2008-08-13 08:04:05 +0200
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-08-13 08:04:05 +0200
commita738159df2b97398f960978272944cbdd8f726ef (patch)
tree20959d5f1d941dd7c755bf9bc8141f20f97249dd /fs/xfs/linux-2.6/mrlock.h
parent[XFS] Move attr log alloc size calculator to another function. (diff)
downloadlinux-a738159df2b97398f960978272944cbdd8f726ef.tar.xz
linux-a738159df2b97398f960978272944cbdd8f726ef.zip
[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>
Diffstat (limited to 'fs/xfs/linux-2.6/mrlock.h')
0 files changed, 0 insertions, 0 deletions