----
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;
};
<<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]]