summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib/volume_id.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-07-13 16:59:01 +0200
committerKay Sievers <kay.sievers@suse.de>2006-07-13 16:59:01 +0200
commit7d5ccc081008a08f066b5bb6805f417585ae663a (patch)
tree6c8e11bfaefeae57c4d6ac46b76d16b0cf5fa685 /extras/volume_id/lib/volume_id.c
parentf566b05b572492e4e7a684a5b04231412d71d0bd (diff)
vol_id: add --skip-raid and --probe-all option
Diffstat (limited to 'extras/volume_id/lib/volume_id.c')
-rw-r--r--extras/volume_id/lib/volume_id.c12
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;