diff options
Diffstat (limited to 'extras/volume_id/lib/volume_id.c')
-rw-r--r-- | extras/volume_id/lib/volume_id.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/extras/volume_id/lib/volume_id.c b/extras/volume_id/lib/volume_id.c index bcdbe2feaa..f74319fb96 100644 --- a/extras/volume_id/lib/volume_id.c +++ b/extras/volume_id/lib/volume_id.c @@ -102,21 +102,21 @@ int volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size info("probing at offset 0x%llx, size 0x%llx", (unsigned long long) off, (unsigned long long) size); - if (volume_id_probe_luks(id, off) == 0) - goto found; - if (volume_id_probe_vfat(id, off) == 0) goto found; - if (volume_id_probe_xfs(id, off) == 0) - goto found; - /* fill buffer with maximum */ volume_id_get_buffer(id, 0, SB_BUFFER_SIZE); if (volume_id_probe_linux_swap(id, off) == 0) goto found; + if (volume_id_probe_luks(id, off) == 0) + goto found; + + if (volume_id_probe_xfs(id, off) == 0) + goto found; + if (volume_id_probe_ext(id, off) == 0) goto found; |