All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Teigland <teigland@sourceware.org>
To: lvm-devel@redhat.com
Subject: master - pvck: fix previous commit
Date: Wed, 28 Oct 2020 21:51:41 +0000 (GMT)	[thread overview]
Message-ID: <20201028215141.7DFE13858012@sourceware.org> (raw)

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=63169594385ed4b02d93c2e8f422bbeb0b8225af
Commit:        63169594385ed4b02d93c2e8f422bbeb0b8225af
Parent:        125da10d47f4c1f72d3df99f2451c1eb031b9f3a
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Wed Oct 28 16:50:47 2020 -0500
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Wed Oct 28 16:50:47 2020 -0500

pvck: fix previous commit

line to setup bcache was misplaced in
commit 5a94126e7a28
---
 tools/pvck.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/pvck.c b/tools/pvck.c
index 06fd01733..c36e18216 100644
--- a/tools/pvck.c
+++ b/tools/pvck.c
@@ -3064,11 +3064,11 @@ int pvck(struct cmd_context *cmd, int argc, char **argv)
 			return ECMD_FAILED;
 	}
 
+	label_scan_setup_bcache();
+
 	if (dev) {
 		char buf[4096];
 
-		label_scan_setup_bcache();
-
 		/*
 		 * This buf is not used, but bcache data is used for subsequent
 		 * reads in the filters and by _read_bytes for other disk structs.



                 reply	other threads:[~2020-10-28 21:51 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=20201028215141.7DFE13858012@sourceware.org \
    --to=teigland@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.