Whamcloud - gitweb
LU-9312 hsm: fix error handling around mdt_hsm_get_md_hsm() 41/26741/3
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 19 Apr 2017 15:42:20 +0000 (10:42 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 9 May 2017 03:46:02 +0000 (03:46 +0000)
commitd29e7592eecd8dfc0198fd9f1279afa3f72066dd
tree63a056431e7d34664cb624b36f8f9d8266958a6a
parent258515459d003c0c1a164bf6e4c76648b2d43868
LU-9312 hsm: fix error handling around mdt_hsm_get_md_hsm()

Correct several spurious NULL return checks from
mdt_hsm_get_md_hsm().

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Icfe74e87183bc5356d4c7627088b402805dcc164
Reviewed-on: https://review.whamcloud.com/26741
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_coordinator.c
lustre/mdt/mdt_hsm_cdt_agent.c