diff options
author | Karel Zak | 2009-09-16 15:39:14 +0200 |
---|---|---|
committer | Karel Zak | 2009-09-16 15:42:38 +0200 |
commit | e4799a35bd44a4a20d672d566383533cbd2c9704 (patch) | |
tree | 74b308403b2ebe521c5508503bd9878a99a17471 /shlibs/blkid/src/probe.c | |
parent | libblkid: add samples/topology.c (diff) | |
download | kernel-qcow2-util-linux-e4799a35bd44a4a20d672d566383533cbd2c9704.tar.gz kernel-qcow2-util-linux-e4799a35bd44a4a20d672d566383533cbd2c9704.tar.xz kernel-qcow2-util-linux-e4799a35bd44a4a20d672d566383533cbd2c9704.zip |
libblkid: add partitions parsing support
This patch is large, but not invasive. There is a new code only.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'shlibs/blkid/src/probe.c')
-rw-r--r-- | shlibs/blkid/src/probe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shlibs/blkid/src/probe.c b/shlibs/blkid/src/probe.c index beda26a26..834259290 100644 --- a/shlibs/blkid/src/probe.c +++ b/shlibs/blkid/src/probe.c @@ -98,6 +98,7 @@ /* chains */ extern const struct blkid_chaindrv superblocks_drv; extern const struct blkid_chaindrv topology_drv; +extern const struct blkid_chaindrv partitions_drv; /* * All supported chains @@ -105,6 +106,7 @@ extern const struct blkid_chaindrv topology_drv; static const struct blkid_chaindrv *chains_drvs[] = { [BLKID_CHAIN_SUBLKS] = &superblocks_drv, [BLKID_CHAIN_TOPLGY] = &topology_drv, + [BLKID_CHAIN_PARTS] = &partitions_drv }; static void blkid_probe_reset_vals(blkid_probe pr); |