Whamcloud - gitweb
- many cleanups with case like foo (). Replaced by foo()
[fs/lustre-release.git] / lustre / mdc / mdc_lib.c
index 895b2a5..5a9e601 100644 (file)
@@ -151,6 +151,10 @@ void mdc_close_pack(struct ptlrpc_request *req, int offset, struct obdo *oa,
                 body->flags = oa->o_flags;
                 body->valid |= OBD_MD_FLFLAGS;
         }
+        if (oa->o_valid & OBD_MD_FLEPOCH) {
+                body->io_epoch = oa->o_easize;
+                body->valid |= OBD_MD_FLEPOCH;
+        }
 }
 
 /*