diff options
author | Kay Sievers <kay.sievers@suse.de> | 2006-05-30 16:01:28 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2006-05-30 16:01:28 +0200 |
commit | e55a73abb07e6949ebbf17fa08a3ddeaddbbc41f (patch) | |
tree | e6afa14671bbdda09669bf2ea5245ca6481126c3 /extras/volume_id/lib/volume_id.c | |
parent | 47b3e9478c48dbe5f428bd6fc074eac78f2765c3 (diff) |
libvolume_id: gfs + gfs2 support
Patch from Red Hat.
Diffstat (limited to 'extras/volume_id/lib/volume_id.c')
-rw-r--r-- | extras/volume_id/lib/volume_id.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extras/volume_id/lib/volume_id.c b/extras/volume_id/lib/volume_id.c index fd95e7d3b0..bcdbe2feaa 100644 --- a/extras/volume_id/lib/volume_id.c +++ b/extras/volume_id/lib/volume_id.c @@ -171,6 +171,12 @@ int volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size if (volume_id_probe_netware(id, off) == 0) goto found; + if (volume_id_probe_gfs(id, off) == 0) + goto found; + + if (volume_id_probe_gfs2(id, off) == 0) + goto found; + return -1; found: |