mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Richard Russon <rich@flatcap.org>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] 2.4.18-rc3  Minor LDM fix
Date: 23 Jul 2002 14:06:11 +0100	[thread overview]
Message-ID: <1027429572.4258.1383.camel@whiskey.something.uk.com> (raw)

Hi Marcelo,

Please can you apply this minor patch to fs/partitions/ldm.c
(support for Windows Dynamic Disks)

Cheers,
  FlatCap (Rich)
  ldm@flatcap.org


Some people have problems reading the end of the LDM database
which is at the end of the physical disk.  This patch reduces
a couple of minor checks, to just debug output.


diff -urN linux-2.4.18-rc3/fs/partitions/ldm.c linux-2.4.18-rc3-ldm/fs/partitions/ldm.c
--- linux-2.4.18-rc3/fs/partitions/ldm.c	Tue Jul 23 13:19:23 2002
+++ linux-2.4.18-rc3-ldm/fs/partitions/ldm.c	Tue Jul 23 13:29:28 2002
@@ -796,7 +796,7 @@
 	err = parse_privhead(data, ph3);
 	put_dev_sector(sect);
 	if (err != 1)
-		goto out;
+		printk(LDM_DEBUG "Couldn't read the third PRIVHEAD.\n");
 	err = compare_privheads(ph1, ph2);
 	if (err != 1) {
 		printk(LDM_CRIT "First and second PRIVHEADs don't match.\n");
@@ -804,7 +804,7 @@
 	}
 	err = compare_privheads(ph1, ph3);
 	if (err != 1)
-		printk(LDM_CRIT "First and third PRIVHEADs don't match.\n");
+		printk(LDM_DEBUG "First and third PRIVHEADs don't match.\n");
 	else
 		/* We _could_ have checked more. */
 		ldm_debug("Validated PRIVHEADs successfully.\n");




                 reply	other threads:[~2002-07-23 13:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1027429572.4258.1383.camel@whiskey.something.uk.com \
    --to=rich@flatcap.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®