(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 168c14e0ff
commit ae45e2c4f3
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; break;
case 'o': case 'o':
if (strEQ(type, "ocfs2")) { if (strnEQ(type, "ocfs", 4)) {
fsp->type = SIGAR_FSTYPE_LOCAL_DISK; fsp->type = SIGAR_FSTYPE_LOCAL_DISK;
} }
break; break;