chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
volume_id: always check for all filesystem types and skip conflicting results
[elogind.git]
/
extras
/
volume_id
/
lib
/
linux_swap.c
diff --git
a/extras/volume_id/lib/linux_swap.c
b/extras/volume_id/lib/linux_swap.c
index c4beeab978c9dc6711577280826087d3ed198645..1698e9dbf73a0014b382d9bee38077fdc0c1a740 100644
(file)
--- a/
extras/volume_id/lib/linux_swap.c
+++ b/
extras/volume_id/lib/linux_swap.c
@@
-97,5
+97,7
@@
found_label:
found:
volume_id_set_usage(id, VOLUME_ID_OTHER);
+ /* we think this is swap, but we make sure no other signatures are found */
+ id->force_unique_result = 1;
return 0;
}