summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2022-09-09 16:14:27 -0500
committerDavid Teigland <teigland@redhat.com>2022-09-09 16:14:27 -0500
commit55e9494e5fe3e3d2790fca6330b848a577e0b1c0 (patch)
tree73d1fb0f33fef2bec7e86654a39d4f877d933a12
parentb869a6ff7a3d254a56ad78444e7d7f8af93d6844 (diff)
downloadlvm2-55e9494e5fe3e3d2790fca6330b848a577e0b1c0.tar.gz
remove libblkid flag BLKID_SUBLKS_FSINFO
This flag is not needed in fs_block_size_and_type() added in the previous commit.
-rw-r--r--lib/device/dev-type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/device/dev-type.c b/lib/device/dev-type.c
index 1e97f6c85..b1cf5b431 100644
--- a/lib/device/dev-type.c
+++ b/lib/device/dev-type.c
@@ -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);