Whamcloud - gitweb
LU-3842 hsm: handle NULL crh in hsm_cdt_request_completed() 70/7470/2
authorJohn L. Hammond <john.hammond@intel.com>
Tue, 27 Aug 2013 18:00:40 +0000 (13:00 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 30 Aug 2013 16:28:04 +0000 (16:28 +0000)
commit21c12a785a5dd2328e7f1f7d8599af8ad7dfe2c3
tree8ae806031aba412baf4b4af1c7998a82c081d275
parent6231637eeef0998c224c9b23d52da1397476f0b6
LU-3842 hsm: handle NULL crh in hsm_cdt_request_completed()

In hsm_cdt_request_completed() if a restore handle could not be found,
don't dereference the NULL crh returned by hsm_restore_hdl_find().

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I175f506d0acdecfef36352638bda2ada66d182db
Reviewed-on: http://review.whamcloud.com/7470
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_coordinator.c