Whamcloud - gitweb
LUDOC-296 protocol: Rearrange presentation to be more top-down
[doc/protocol.git] / struct_ldlm_intent.txt
similarity index 96%
rename from ldlm_intent.txt
rename to struct_ldlm_intent.txt
index a191750..06e4533 100644 (file)
@@ -5,6 +5,7 @@ LDLM Intent
 A lock request can include an 'intent' operation. Which operation is
 encoded in the 'ldlm_intent' 'opc'.
 
+[source,c]
 ----
 struct ldlm_intent {
         __u64 opc;
@@ -13,6 +14,7 @@ struct ldlm_intent {
 
 The available operations are:
 
+[source,c]
 ----
 #define IT_OPEN     (1 << 0)
 #define IT_CREAT    (1 << 1)