Whamcloud - gitweb
LU-389 update wirecheck for master
[fs/lustre-release.git] / lustre / ost / ost_handler.c
index 8dc1cec..59ab298 100644 (file)
@@ -412,6 +412,7 @@ static int ost_punch(struct obd_export *exp, struct ptlrpc_request *req,
                 oinfo->oi_policy.l_extent.start = oinfo->oi_oa->o_size;
                 oinfo->oi_policy.l_extent.end = oinfo->oi_oa->o_blocks;
                 oinfo->oi_capa = capa;
+                oinfo->oi_flags = OBD_FL_PUNCH;
 
                 req->rq_status = obd_punch(exp, oinfo, oti, NULL);
                 OBD_FREE_PTR(oinfo);