chiark / gitweb /
volume_id: add OCFS (Oracle Cluster File System) support
[elogind.git] / extras / volume_id / volume_id / volume_id.c
index 3fe8562e33590a489b582a69738d2c93ae29c985..8e944be0b12cf9116c97fc19275d810bc6da6931 100644 (file)
@@ -69,6 +69,7 @@
 #include "minix.h"
 #include "mac.h"
 #include "msdos.h"
+#include "ocfs2.h"
 
 int volume_id_probe_all(struct volume_id *id, unsigned long long off, unsigned long long size)
 {
@@ -169,6 +170,9 @@ int volume_id_probe_all(struct volume_id *id, unsigned long long off, unsigned l
        if (volume_id_probe_minix(id, off) == 0)
                goto exit;
 
+       if (volume_id_probe_ocfs2(id, off) == 0)
+               goto exit;
+
        return -1;
 
 exit: