From: Manoj Joseph Date: Fri, 6 Aug 2010 01:22:07 +0000 (+0400) Subject: b=23296 Fix the initialization of oti X-Git-Tag: 2.0.50.0~32 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=2cc292c64f191304181da2ee6e7cd7ab09697400;ds=sidebyside b=23296 Fix the initialization of oti Fix the initialization of obd_trans_info i=qiang.wu i=andreas.dilger --- diff --git a/lustre/obdecho/echo_client.c b/lustre/obdecho/echo_client.c index b2c8815..883b311 100644 --- a/lustre/obdecho/echo_client.c +++ b/lustre/obdecho/echo_client.c @@ -1697,7 +1697,7 @@ static int echo_client_brw_ioctl(int rw, struct obd_export *exp, struct obd_device *obd = class_exp2obd(exp); struct echo_device *ed = obd2echo_dev(obd); struct echo_client_obd *ec = ed->ed_ec; - struct obd_trans_info dummy_oti = { .oti_thread = NULL }; + struct obd_trans_info dummy_oti = { 0 }; struct obdo *oa = &data->ioc_obdo1; struct echo_object *eco; int rc;