summaryrefslogtreecommitdiff
path: root/libparted/filesys.c
diff options
context:
space:
mode:
authorPhillip Susi <psusi@ubuntu.com>2014-03-17 22:07:55 -0400
committerPhillip Susi <psusi@ubuntu.com>2014-04-18 12:55:21 -0400
commit80678bdd957cf49a9ccfc8b88ba3fb8b4c63fc12 (patch)
tree5e5396f7d88cbc096f5049f4687ce7a5b17507ef /libparted/filesys.c
parentd0a4cc1b57750a92afb48b229e4791154afa322b (diff)
downloadparted-80678bdd957cf49a9ccfc8b88ba3fb8b4c63fc12.tar.gz
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.
Diffstat (limited to 'libparted/filesys.c')
-rw-r--r--libparted/filesys.c5
1 files changed, 0 insertions, 5 deletions
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);