Whamcloud - gitweb
LU-8297 obd: release MGC device if connect fails 51/20851/3
authorJohn L. Hammond <john.hammond@intel.com>
Fri, 17 Jun 2016 14:16:08 +0000 (09:16 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 20 Jul 2016 17:43:14 +0000 (17:43 +0000)
commitfb5a79bf1e060a753a2e32e9a7b1f03fa4915ee2
tree16ad6df1e840b837738f119d546ae295fc589a4e
parent63d146df45660b9dc9d448b8d3ca750ab5c5f0c8
LU-8297 obd: release MGC device if connect fails

In lustre_fill_super() if lustre_start_mgc() fails then call
lustre_common_put_super() to release a reference on the MGC device
attached to the LSI.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I89697badac971e78e1cd3596e7ffc42afdcbfeee
Reviewed-on: http://review.whamcloud.com/20851
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/obd_mount.c