X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fofd%2Fofd_obd.c;h=dba54a484034817095c9f11f8f28034a48a095ef;hp=771f7bd87f06d80318807b7cc30859cd0a6b0201;hb=61743b88672687f789f9c609c85a351e1595118b;hpb=b9bdd849f076302550221ff195e83e31dd7bddfc diff --git a/lustre/ofd/ofd_obd.c b/lustre/ofd/ofd_obd.c index 771f7bd..dba54a4 100644 --- a/lustre/ofd/ofd_obd.c +++ b/lustre/ofd/ofd_obd.c @@ -1163,7 +1163,7 @@ static int ofd_ioc_get_obj_version(const struct lu_env *env, data->ioc_inllen3 == sizeof(__u64) && data->ioc_inlbuf4 != NULL && data->ioc_inllen4 == sizeof(__u64)) { - struct ost_id ostid; + struct ost_id ostid = { }; ostid_set_seq(&ostid, *(__u64 *)data->ioc_inlbuf4); rc = ostid_set_id(&ostid, *(__u64 *)data->ioc_inlbuf3);