Whamcloud - gitweb
LU-8091 mount: error out properly in server_lsi2mti() 33/19933/2
authorNiu Yawei <yawei.niu@intel.com>
Tue, 3 May 2016 07:37:41 +0000 (03:37 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 16 May 2016 16:48:17 +0000 (16:48 +0000)
commitfe9273a52a97e6560108a9563e0370855dc0319a
tree527c6629a5a891a6c546cd4087762a6d0dc83363
parent1977cfc0e3330e9e998aac82cbe258bc93a0647f
LU-8091 mount: error out properly in server_lsi2mti()

server_lsi2mti() should return an error if no proper NID is
initialized, otherwise, target will register successfully with
an invalid empty NID.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: Ia5fd78e4df6344764109486ce1082099054ebf1e
Reviewed-on: http://review.whamcloud.com/19933
Tested-by: Jenkins
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/obdclass/obd_mount_server.c