All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heinz Mauelshagen <mauelshagen@redhat.com>
To: dm-devel@redhat.com
Cc: hjm@redhat.com
Subject: dm-log.c-2.4.26-rc1.patch
Date: Thu, 2 Feb 2006 21:39:12 +0100	[thread overview]
Message-ID: <20060202203912.GD23661@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 696 bytes --]


dm-log.c constructor doesn't pay attention to the NOSYNC flag while
initializing the lc->sync_bits bitset.

Regards,
Heinz    -- The LVM Guy --

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
Cluster and Storage Development                   56242 Marienrachdorf
                                                  Germany
Mauelshagen@RedHat.com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

[-- Attachment #2: dm-log.c.2.4.26-rc1.patch --]
[-- Type: text/plain, Size: 433 bytes --]

--- linux-2.4.32/drivers/md/dm-log.c.2.4.26-rc1	2006-02-02 21:35:48.000000000 +0100
+++ linux-2.4.32/drivers/md/dm-log.c	2006-02-02 21:36:25.000000000 +0100
@@ -220,7 +220,7 @@
 		kfree(clog);
 		return -ENOMEM;
 	}
-	memset(clog->sync_bits, 0, bitset_size);
+	memset(lc->sync_bits, (sync == NOSYNC) ? -1 : 0, bitset_size);
 	clog->sync_count = (sync == NOSYNC ) ? region_count : 0;
 
 	clog->recovering_bits = vmalloc(bitset_size);

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



                 reply	other threads:[~2006-02-02 20:39 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=20060202203912.GD23661@redhat.com \
    --to=mauelshagen@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=hjm@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.