mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
3d37e976bf
Eliminate busy loop during pvcreate of a "normal" partition. _md_sysfs_attribute_snprintf() would busy loop if the device it was given was not a blkext-based MD partition. Rather than being cute with a busy-loop prone 'goto check_md_major' in _md_sysfs_attribute_snprintf(): explicitly check if the provided device is a blkext-based partition (blkext_major()); and then check that the get_primary_dev() determined parent is an MD device (md_major()). |
||
---|---|---|
.. | ||
filter-composite.c | ||
filter-composite.h | ||
filter-md.c | ||
filter-md.h | ||
filter-persistent.c | ||
filter-persistent.h | ||
filter-regex.c | ||
filter-regex.h | ||
filter-sysfs.c | ||
filter-sysfs.h | ||
filter.c | ||
filter.h |