mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Report sector containing label in verbose message.
This commit is contained in:
parent
1fd2dac60b
commit
677ec408bf
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.86 -
|
Version 2.02.86 -
|
||||||
=================================
|
=================================
|
||||||
|
Report sector containing label in verbose message.
|
||||||
Clarify error message when unable to convert an LV into a snapshot of an LV.
|
Clarify error message when unable to convert an LV into a snapshot of an LV.
|
||||||
Add and use dev_open_readonly and variations.
|
Add and use dev_open_readonly and variations.
|
||||||
Do not log a superfluous stack message when the lv is properly processed.
|
Do not log a superfluous stack message when the lv is properly processed.
|
||||||
|
@ -156,8 +156,10 @@ static struct labeller *_find_labeller(struct device *dev, char *buf,
|
|||||||
dm_list_iterate_items(li, &_labellers) {
|
dm_list_iterate_items(li, &_labellers) {
|
||||||
if (li->l->ops->can_handle(li->l, (char *) lh,
|
if (li->l->ops->can_handle(li->l, (char *) lh,
|
||||||
sector + scan_sector)) {
|
sector + scan_sector)) {
|
||||||
log_very_verbose("%s: %s label detected",
|
log_very_verbose("%s: %s label detected at "
|
||||||
dev_name(dev), li->name);
|
"sector %" PRIu64,
|
||||||
|
dev_name(dev), li->name,
|
||||||
|
sector + scan_sector);
|
||||||
if (found) {
|
if (found) {
|
||||||
log_error("Ignoring additional label "
|
log_error("Ignoring additional label "
|
||||||
"on %s at sector %" PRIu64,
|
"on %s at sector %" PRIu64,
|
||||||
|
Loading…
Reference in New Issue
Block a user