From: mbroz@sourceware.org <mbroz@sourceware.org>
To: lvm-devel@redhat.com
Subject: LVM2/lib/label label.c
Date: 28 Aug 2008 13:28:13 -0000 [thread overview]
Message-ID: <20080828132813.1347.qmail@sourceware.org> (raw)
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mbroz at sourceware.org 2008-08-28 13:28:13
Modified files:
lib/label : label.c
Log message:
Not detecing label on disc is not error, remove <backtrace> from debug log
and report it only if device cannot be read.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/label/label.c.diff?cvsroot=lvm2&r1=1.42&r2=1.43
--- LVM2/lib/label/label.c 2008/02/06 15:47:28 1.42
+++ LVM2/lib/label/label.c 2008/08/28 13:28:13 1.43
@@ -119,7 +119,7 @@
if (!dev_read(dev, scan_sector << SECTOR_SHIFT,
LABEL_SCAN_SIZE, readbuf)) {
log_debug("%s: Failed to read label area", dev_name(dev));
- goto out;
+ goto_out;
}
/* Scan a few sectors for a valid label */
@@ -284,7 +284,7 @@
}
if (!(l = _find_labeller(dev, buf, §or, scan_sector)))
- goto_out;
+ goto out;
if ((r = (l->ops->read)(l, dev, buf, result)) && result && *result)
(*result)->sector = sector;
@@ -361,7 +361,7 @@
}
if (!(l = _find_labeller(dev, buf, §or, UINT64_C(0))))
- goto_out;
+ goto out;
r = l->ops->verify ? l->ops->verify(l, buf, sector) : 1;
next reply other threads:[~2008-08-28 13:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-28 13:28 mbroz [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-07-13 21:24 LVM2/lib/label label.c mpatocka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080828132813.1347.qmail@sourceware.org \
--to=mbroz@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.