Whamcloud - gitweb
LU-10656 ldlm: fix export reference 36/31636/4
authorHongchao Zhang <hongchao.zhang@intel.com>
Sun, 28 Jan 2018 19:25:42 +0000 (03:25 +0800)
committerJohn L. Hammond <john.hammond@intel.com>
Thu, 3 May 2018 18:16:53 +0000 (18:16 +0000)
commit8b444bf222df5a7073ab55988cf3c270912a94e0
tree1942a42058e5da7948d4a7e78f235fa770e12527
parentf20e7938083a542d35f1e150c23022087d115a14
LU-10656 ldlm: fix export reference

In ptlrpc_connect_interpert, the export reference could be
leaked if there is error before the following class_exp_put.

Lustre-change: https://review.whamcloud.com/31139
Lustre-commit: e52f2ea40e55d13b2f14fccd04959584c9022dbd

Change-Id: I9ddd82fa1bbf8e17079e9746202be63e6233c052
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/31636
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/ptlrpc/import.c