From bc3e8ed6d41a0c92e6e0c07fad9b765e9f0127c2 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 10 Feb 2009 13:50:08 -0800 Subject: [PATCH] (SIGAR-73) check for 'ocfs' in addition to 'ocfs2' --- src/os/linux/linux_sigar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/linux/linux_sigar.c b/src/os/linux/linux_sigar.c index 55776b3d..f1fb5147 100644 --- a/src/os/linux/linux_sigar.c +++ b/src/os/linux/linux_sigar.c @@ -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;