All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Teigland <teigland@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - remove extra change from support 16KB page size
Date: Fri,  7 Apr 2023 20:58:57 +0000 (GMT)	[thread overview]
Message-ID: <20230407205857.7076A3858D32@sourceware.org> (raw)

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=8458ff9ad18c518b774d16358e28a805057e4dc1
Commit:        8458ff9ad18c518b774d16358e28a805057e4dc1
Parent:        b443eac6efd29a72a4356f54c713cc9a0e0da866
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Fri Apr 7 15:57:28 2023 -0500
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Fri Apr 7 15:57:28 2023 -0500

remove extra change from support 16KB page size

---
 lib/config/config.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/config/config.c b/lib/config/config.c
index 2bb55daeb..5986e64b1 100644
--- a/lib/config/config.c
+++ b/lib/config/config.c
@@ -540,9 +540,6 @@ int config_file_read_fd(struct dm_config_tree *cft, struct device *dev, dev_io_r
 				log_sys_error("read", dev_name(dev));
 				goto out;
 			}
-
-			if (!sz)
-				goto out;
 		}
 	} else {
 		if (!dev_read_bytes(dev, offset, size, buf))


                 reply	other threads:[~2023-04-07 20:58 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=20230407205857.7076A3858D32@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.