]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: merge freeing of mp names and mp
authorIan Kent <raven@themaw.net>
Mon, 4 Nov 2019 21:58:42 +0000 (13:58 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 5 Nov 2019 16:28:25 +0000 (08:28 -0800)
commita943f372c22bd4923c4897ff4e7d3f03db0d6716
tree06f7111e0a78c3e23a7da612710a49651c3c022b
parent7b77b46a61372ce38867578cab1a4b9850359c31
xfs: merge freeing of mp names and mp

In all cases when struct xfs_mount (mp) fields m_rtname and m_logname
are freed mp is also freed, so merge these into a single function
xfs_mount_free()

Signed-off-by: Ian Kent <raven@themaw.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_super.c