]> git.baikalelectronics.ru Git - kernel.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)
commitd00b23483bd7676e72a0fdb422293c4b39e900ee
tree06f7111e0a78c3e23a7da612710a49651c3c022b
parentbd63fcf7ea72ab1a663301fec91e70c28cf17a53
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