mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-23 21:35:29 +03:00
a6a2be6e37
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 |