]> sourceware.org Git - lvm2.git/commit
Improve ability to lookup primary device associated with a partition
authorsnitzer <snitzer>
Sat, 1 Aug 2009 17:09:48 +0000 (17:09 +0000)
committersnitzer <snitzer>
Sat, 1 Aug 2009 17:09:48 +0000 (17:09 +0000)
commit5829d873134d41a5b2236dd3bd830795cdd85aca
treebca95d3fe7c580f2298fd102156b0c7c80dde7ff
parent4422423315cbbd8c41c8a0dfa9af0aae28b0a3b4
Improve ability to lookup primary device associated with a partition

Improve lib/device/device.c:_primary_dev()'s ability to look up the
primary device associated with all partitions; including blkext
(e.g. partitions directly on MD).  The same will also work for obscure
sysfs paths; e.g.: paths with mangled names like the HP cciss driver
uses: /sys/block/cciss!c0d0/cciss!c0d0p1/

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
lib/device/device.c
This page took 0.193925 seconds and 5 git commands to generate.