[PATCH RFC 1/2] Revert "libblkid: add debug message for private DM device skip"
[email protected] Wed, 8 Apr 2026 12:35:25 +0200
| Newsgroups | org.kernel.vger.util-linux |
|---|---|
| Message-ID | <[email protected]> |
From: Carlos Maiolino <[email protected]> This reverts commit b85d46a2edf3f871504ca86080102cde93e3725c. Signed-off-by: Carlos Maiolino <[email protected]> --- libblkid/src/probe.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libblkid/src/probe.c b/libblkid/src/probe.c index fba7eb1240af..d47c22c72043 100644 --- a/libblkid/src/probe.c +++ b/libblkid/src/probe.c @@ -224,11 +224,8 @@ blkid_probe blkid_new_probe_from_filename(const char *filename) * DM_DEVICE_REMOVE would otherwise see EBUSY. */ if (stat(filename, &sb) == 0 && S_ISBLK(sb.st_mode) && - sysfs_devno_is_dm_private(sb.st_rdev, NULL)) { - DBG(LOWPROBE, ul_debug("ignore private device mapper device")); - errno = EINVAL; + sysfs_devno_is_dm_private(sb.st_rdev, NULL)) return NULL; - } fd = open(filename, O_RDONLY | O_CLOEXEC | O_NONBLOCK); if (fd < 0) -- 2.53.0