All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - typo: fixes
Date: Mon,  8 Feb 2021 22:54:21 +0000 (GMT)	[thread overview]
Message-ID: <20210208225421.7318C385480D@sourceware.org> (raw)

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ef2e0d3d680829ad4f4253787cd7a0db0c4597d6
Commit:        ef2e0d3d680829ad4f4253787cd7a0db0c4597d6
Parent:        d280999b62c61b9769eb5c3a01a19fa54461259d
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Mon Feb 8 23:51:56 2021 +0100
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Mon Feb 8 23:53:41 2021 +0100

typo: fixes

forgotten merge from last batch.
---
 lib/snapshot/snapshot.c     | 2 +-
 lib/writecache/writecache.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/snapshot/snapshot.c b/lib/snapshot/snapshot.c
index b832f890d..8446a6914 100644
--- a/lib/snapshot/snapshot.c
+++ b/lib/snapshot/snapshot.c
@@ -154,7 +154,7 @@ static int _snap_target_present(struct cmd_context *cmd,
 
 		if (!(_snap_present = (target_present_version(cmd, TARGET_NAME_SNAPSHOT, 1,
 							      &maj, &min, &patchlevel) &&
-				       target_present(cmd, TARGET_NAME_SNAPSHOT_ORIGIN, 0)))
+				       target_present(cmd, TARGET_NAME_SNAPSHOT_ORIGIN, 0))))
 			return 0;
 
 		if ((maj > 1 ||
diff --git a/lib/writecache/writecache.c b/lib/writecache/writecache.c
index d114d698c..aa2113271 100644
--- a/lib/writecache/writecache.c
+++ b/lib/writecache/writecache.c
@@ -238,7 +238,7 @@ static int _target_present(struct cmd_context *cmd,
 
 	if (!_writecache_checked) {
 		_writecache_checked = 1;
-		if (!(_writecache_present = target_present_version(cmd, TARGET_NAME_WRITECACHE, 1.
+		if (!(_writecache_present = target_present_version(cmd, TARGET_NAME_WRITECACHE, 1,
 								   &maj, &min, &patchlevel)))
 			return 0;
 



                 reply	other threads:[~2021-02-08 22:54 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=20210208225421.7318C385480D@sourceware.org \
    --to=zkabelac@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.