1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-17 06:04:23 +03:00

remove libblkid flag BLKID_SUBLKS_FSINFO

This flag is not needed in fs_block_size_and_type()
added in the previous commit.
This commit is contained in:
David Teigland 2022-09-09 16:14:27 -05:00
parent b869a6ff7a
commit 55e9494e5f

View File

@ -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_UUID | BLKID_SUBLKS_UUIDRAW |
BLKID_SUBLKS_TYPE | BLKID_SUBLKS_SECTYPE | BLKID_SUBLKS_TYPE | BLKID_SUBLKS_SECTYPE |
BLKID_SUBLKS_USAGE | BLKID_SUBLKS_VERSION | BLKID_SUBLKS_USAGE | BLKID_SUBLKS_VERSION |
BLKID_SUBLKS_MAGIC | BLKID_SUBLKS_FSINFO); BLKID_SUBLKS_MAGIC);
rc = blkid_do_safeprobe(probe); rc = blkid_do_safeprobe(probe);
if (rc < 0) { if (rc < 0) {
log_debug("Failed libblkid probe for %s", pathname); log_debug("Failed libblkid probe for %s", pathname);