(SIGAR-73) check for 'ocfs' in addition to 'ocfs2'
This commit is contained in:
		
							parent
							
								
									7ef48da327
								
							
						
					
					
						commit
						bc3e8ed6d4
					
				@ -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;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user