Skip to contentSkip to conversation

main - remove libblkid flag BLKID_SUBLKS_FSINFO

PATCH David Teigland 1 participant 1 message Sep 9, 2022

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=55e9494e5fe3e3d2790fca6330b848a577e0b1c0
Commit:        55e9494e5fe3e3d2790fca6330b848a577e0b1c0
Parent:        b869a6ff7a3d254a56ad78444e7d7f8af93d6844
Author:        David Teigland <[email protected]>
AuthorDate:    Fri Sep 9 16:14:27 2022 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Fri Sep 9 16:14:27 2022 -0500

remove libblkid flag BLKID_SUBLKS_FSINFO

This flag is not needed in fs_block_size_and_type() added in the previous commit.

---
 lib/device/dev-type.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/device/dev-type.c +1 -1
index 1e97f6c85..b1cf5b431 100644
@@ -842,7 +842,7 @@ int fs_block_size_and_type(const char *pathname, uint32_t *fs_block_size_bytes,
 			BLKID_SUBLKS_UUID | BLKID_SUBLKS_UUIDRAW |
 			BLKID_SUBLKS_TYPE | BLKID_SUBLKS_SECTYPE |
 			BLKID_SUBLKS_USAGE | BLKID_SUBLKS_VERSION |
-			BLKID_SUBLKS_MAGIC | BLKID_SUBLKS_FSINFO);
+			BLKID_SUBLKS_MAGIC);
 	rc = blkid_do_safeprobe(probe);
 	if (rc < 0) {
 		log_debug("Failed libblkid probe for %s", pathname);