1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-25 01:34:38 +03:00
lvm2/lib/device
snitzer a6a2be6e37 Fix pvcreate on a partition (regressed in 2.02.51).
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()).
2009-08-19 15:34:33 +00:00
..
dev-cache.c Use log_error macro consistently throughout in place of log_err. 2009-07-15 20:02:46 +00:00
dev-cache.h Fix inconsistent licence notices: executables are GPLv2; libraries LGPLv2.1. 2007-08-20 20:55:30 +00:00
dev-io.c Use readahead of underlying device and not default (smaller) one. 2009-05-20 11:09:49 +00:00
dev-md.c Fix pvcreate on a partition (regressed in 2.02.51). 2009-08-19 15:34:33 +00:00
dev-swap.c Missed file from previous checkin. 2009-03-17 14:40:00 +00:00
device.c Fix error handling of device-related stat() calls to be ENOENT aware. 2009-08-01 17:14:52 +00:00
device.h Retrieve MD sysfs attributes for MD partitions 2009-08-01 17:11:02 +00:00