Whamcloud - gitweb
LU-9312 hsm: release restore lock without object 42/26742/3
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 19 Apr 2017 15:49:23 +0000 (10:49 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 9 May 2017 03:47:55 +0000 (03:47 +0000)
commit57cc12fd395f5a766e31f52b23911fc71938cbdc
treeb75700bd61a1e48bd314cf1b3092985e3aa33940
parent8946ce958c123ba05576d792e8af22ea899a43c8
LU-9312 hsm: release restore lock without object

In the error path of mdt_hsm_agent_send(), the object to be restored
is not needed to release the layout lock so don't find it.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Ic8e82a5ccd8f83cac2d7ebc3d4b800f8a4563ca6
Reviewed-on: https://review.whamcloud.com/26742
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_hsm_cdt_agent.c