summaryrefslogtreecommitdiff
path: root/lib/device
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2022-09-27 15:10:04 -0500
committerDavid Teigland <teigland@redhat.com>2022-09-27 15:13:31 -0500
commit50281e5710dd8cb50208614066ca52ac4574eda6 (patch)
treed1984eede157f6bbb04a10304ea8b6be8e0eff17 /lib/device
parent3ca44e13beb8532d19828c71540af0d0307fd017 (diff)
downloadlvm2-50281e5710dd8cb50208614066ca52ac4574eda6.tar.gz
change messages about libblkid features
remove message about missing libblkid features change message recommending resize_fsadm when libblkid features are not available.
Diffstat (limited to 'lib/device')
-rw-r--r--lib/device/dev-type.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/device/dev-type.c b/lib/device/dev-type.c
index fb6e9a444..eb9e169bb 100644
--- a/lib/device/dev-type.c
+++ b/lib/device/dev-type.c
@@ -948,15 +948,6 @@ int fs_get_blkid(const char *pathname, struct fs_info *fsi)
blkid_free_probe(probe);
- /* We don't expect to get this info for luks */
- if (strcmp(fsi->fstype, "crypto_LUKS") && (no_block_size || no_fslastblock || no_fsblocksize)) {
- log_print("Missing libblkid %s%s%sfor %s",
- no_block_size ? "BLOCK_SIZE " : "",
- no_fslastblock ? "FSLASTBLOCK " : "",
- no_fsblocksize ? "FSBLOCKSIZE " : "",
- pathname);
- }
-
if (fslastblock && fsblocksize)
fsi->fs_last_byte = fslastblock * fsblocksize;