-
Yury Umanets authored
- md_close() chnaged to use mdc_op_data like other md_* functions instead of using obdo. - fixed prototype declaration for llapi_lov_get_uuids() - bug #6900 - fixed error message in ll_gns_mount_object() - bug #7146 - a lot of fixes about memory allocation/freeing: - checks is memory is actually allocated by OBD_ALLOC() before sing it and do appropriate actions otherwise. - fixed many leaks on error paths. - fixed missed OBD_FREE(capa_hash) in capa_cache_cleanup() - fixed few on stack allocatoins of mdc_op_data in new landed stuff. - in smfs_mount_cache() fixes correct cleanup in the cases of memory allocation failures. Do mntput() for new mounted cache_mnt on error path. - in smfs_umount_cache() nullify smb->smsi_cache_ftype and smb->smsi_ftype after freeing them, to prevent attempt to free again if smfs_umount_cache() is called second time.
Yury Umanets authored- md_close() chnaged to use mdc_op_data like other md_* functions instead of using obdo. - fixed prototype declaration for llapi_lov_get_uuids() - bug #6900 - fixed error message in ll_gns_mount_object() - bug #7146 - a lot of fixes about memory allocation/freeing: - checks is memory is actually allocated by OBD_ALLOC() before sing it and do appropriate actions otherwise. - fixed many leaks on error paths. - fixed missed OBD_FREE(capa_hash) in capa_cache_cleanup() - fixed few on stack allocatoins of mdc_op_data in new landed stuff. - in smfs_mount_cache() fixes correct cleanup in the cases of memory allocation failures. Do mntput() for new mounted cache_mnt on error path. - in smfs_umount_cache() nullify smb->smsi_cache_ftype and smb->smsi_ftype after freeing them, to prevent attempt to free again if smfs_umount_cache() is called second time.