From: Christoph Hellwig Date: Mon, 15 Apr 2024 23:07:47 +0000 (-0700) Subject: libxfs: also query log device topology in get_topology X-Git-Tag: v6.8.0~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=258dd18d19f17f81345dad4f3d86af742fc72809;p=thirdparty%2Fxfsprogs-dev.git libxfs: also query log device topology in get_topology Also query the log device topology in get_topology, which we'll need in mkfs in a bit. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner Reviewed-by: Darrick J. Wong Signed-off-by: Darrick J. Wong --- diff --git a/libxfs/topology.c b/libxfs/topology.c index 706eed02..94adb5be 100644 --- a/libxfs/topology.c +++ b/libxfs/topology.c @@ -292,4 +292,5 @@ get_topology( { get_device_topology(&xi->data, &ft->data, force_overwrite); get_device_topology(&xi->rt, &ft->rt, force_overwrite); + get_device_topology(&xi->log, &ft->log, force_overwrite); } diff --git a/libxfs/topology.h b/libxfs/topology.h index ba0c8f66..fa0a23b7 100644 --- a/libxfs/topology.h +++ b/libxfs/topology.h @@ -20,6 +20,7 @@ struct device_topology { struct fs_topology { struct device_topology data; struct device_topology rt; + struct device_topology log; }; void