From 80678bdd957cf49a9ccfc8b88ba3fb8b4c63fc12 Mon Sep 17 00:00:00 2001 From: Phillip Susi Date: Mon, 17 Mar 2014 22:07:55 -0400 Subject: Fix filesystem detection on non 512 byte sectors Enable probing for filesystems with non 512 byte sectors, and fix up each filesystem to correctly handle that. Remove unused field from the fs type structure listing acceptable sector sizes. --- libparted/filesys.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libparted/filesys.c') diff --git a/libparted/filesys.c b/libparted/filesys.c index 1870808..1bfe32d 100644 --- a/libparted/filesys.c +++ b/libparted/filesys.c @@ -198,11 +198,6 @@ ped_file_system_probe_specific ( PED_ASSERT (fs_type->ops->probe != NULL); PED_ASSERT (geom != NULL); - /* Fail all fs-specific probe-related tests when sector size - is not the default. */ - if (geom->dev->sector_size != PED_SECTOR_SIZE_DEFAULT) - return 0; - if (!ped_device_open (geom->dev)) return 0; result = fs_type->ops->probe (geom); -- cgit v1.2.1