Skip to content
Snippets Groups Projects
Commit b77699e7 authored by Yury Umanets's avatar Yury Umanets
Browse files

- many fixes about using ENTRY, RETURN, GOTO and EXIT.

- 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.
parent 13b5f011
No related branches found
No related tags found
No related merge requests found
Showing
with 353 additions and 153 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment