Skip to contentSkip to conversation

main - remove extra change from support 16KB page size

PATCH David Teigland 1 participant 1 message Apr 7, 2023

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=8458ff9ad18c518b774d16358e28a805057e4dc1
Commit:        8458ff9ad18c518b774d16358e28a805057e4dc1
Parent:        b443eac6efd29a72a4356f54c713cc9a0e0da866
Author:        David Teigland <[email protected]>
AuthorDate:    Fri Apr 7 15:57:28 2023 -0500
Committer:     David Teigland <[email protected]>
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(-)
lib/config/config.c +0 -3
index 2bb55daeb..5986e64b1 100644
@@ -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))