Whamcloud - gitweb
LU-8182 mdt: check connection data properly 91/20391/2
authorFan Yong <fan.yong@intel.com>
Tue, 26 Apr 2016 21:47:15 +0000 (05:47 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 14 Jun 2016 03:55:22 +0000 (03:55 +0000)
commit06072de19cf490f52b9f20dd5a8d9dc8509ceb3f
tree2218bcc8b1f14834b7f242e260f4efe7e6f419ef
parentca62e637647f4d7c68bfb2b9f1b7a1597ae61381
LU-8182 mdt: check connection data properly

For mdt_obd_connect() case, the parameter @data should never be
NULL, so drop the redundant check of "data != NULL", replace it
with "LASSERT(data != NULL);"

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ia6754752527e69c89e7a40d3d012232eaba94d3e
Reviewed-on: http://review.whamcloud.com/20391
Tested-by: Jenkins
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/mdt/mdt_handler.c