Whamcloud - gitweb
LU-7412 osp_md_read() may pass an ERR_PTR() to osp_update_request_destroy() 22/17522/3
authorakam <azurelustre@gmail.com>
Wed, 9 Dec 2015 07:59:53 +0000 (13:29 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 9 Jan 2016 00:10:11 +0000 (00:10 +0000)
commitbb4fb32a30943e04206a00789e694ec795f88d25
tree76a6a58db2967551ef551c3591a27aa973be6b26
parentf08965208f1f251fb1350eb30110bd8c45aeda1e
LU-7412 osp_md_read() may pass an ERR_PTR() to osp_update_request_destroy()

In osp_md_read() if osp_update_request_create() fails with ERR_PTR()
it should return rather than passing on ERR_PTR() to the
osp_update_request_destroy()

Change-Id: Id4c0c5b3e0619a4e657c22bf27a5679e02164007
Signed-off-by: akam kumar bharathi <azurelustre@gmail.com>
Reviewed-on: http://review.whamcloud.com/17522
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
lustre/osp/osp_md_object.c