]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libfrog: move topology.[ch] to libxfs
authorDarrick J. Wong <djwong@kernel.org>
Wed, 29 Sep 2021 20:57:10 +0000 (16:57 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 29 Sep 2021 20:57:10 +0000 (16:57 -0400)
commit6bc3531cf882b4d8b5ff5fa24cda79ec1e357c61
tree987feeb21368b4cc5353711b02795622b9a192b5
parentec4e15fd1cbfec1b11bdf81d8cb0eeb1856a8a90
libfrog: move topology.[ch] to libxfs

The topology code depends on a few libxfs structures and is only needed
by mkfs and xfs_repair.  Move this code to libxfs to reduce the size of
libfrog and to avoid build failures caused by "xfs: move perag structure
and setup to libxfs/xfs_ag.[ch]".

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/libxfs.h
libfrog/Makefile
libxfs/Makefile
libxfs/topology.c [moved from libfrog/topology.c with 99% similarity]
libxfs/topology.h [moved from libfrog/topology.h with 88% similarity]
mkfs/xfs_mkfs.c
repair/sb.c