Whamcloud - gitweb
correctly handle too big reply message.
[fs/lustre-release.git] / lustre / mdc / mdc_locks.c
index 1da0c78..e7d8b7c 100644 (file)
@@ -530,6 +530,8 @@ static int mdc_finish_enqueue(struct obd_export *exp,
                 if ((body->valid & (OBD_MD_FLDIREA | OBD_MD_FLEASIZE)) != 0) {
                         void *eadata;
 
+                         mdc_update_max_ea_from_body(exp, body);
+
                         /*
                          * The eadata is opaque; just check that it is there.
                          * Eventually, obd_unpackmd() will check the contents.