Whamcloud - gitweb
LUDOC-296 protocol: remove internal details from descriptions
[doc/protocol.git] / ldlm_resource_desc.txt
index c50781f..2b48f31 100644 (file)
@@ -7,7 +7,7 @@ being locked, along with what sort of thing it is.
 
 ----
 struct ldlm_resource_desc {
-        ldlm_type_t lr_type;
+        struct ldlm_type lr_type;
         __u32 lr_padding;       /* also fix lustre_swab_ldlm_resource_desc */
         struct ldlm_res_id lr_name;
 };
@@ -32,11 +32,11 @@ objects of the locking operation. See the discussion of
 <<struct-ldlm-res-id>>.
 
 ----
-typedef enum {
+enum ldlm_type {
         LDLM_PLAIN     = 10,
         LDLM_EXTENT    = 11,
         LDLM_FLOCK     = 12,
         LDLM_IBITS     = 13,
-} ldlm_type_t;
+};
 ----
-
+[[struct-ldlm-type]]