(SIGAR-73) check for 'ocfs' in addition to 'ocfs2'

This commit is contained in:
Doug MacEachern 2009-02-10 13:50:08 -08:00
parent 7ef48da327
commit bc3e8ed6d4
1 changed files with 1 additions and 1 deletions

View File

@ -1086,7 +1086,7 @@ int sigar_os_fs_type_get(sigar_file_system_t *fsp)
}
break;
case 'o':
if (strEQ(type, "ocfs2")) {
if (strnEQ(type, "ocfs", 4)) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
}
break;