Whamcloud - gitweb
LUDOC-296 protocol: Rearrange presentation to be more top-down
[doc/protocol.git] / struct_mdt_rec_setxattr.txt
similarity index 92%
rename from mdt_rec_setxattr.txt
rename to struct_mdt_rec_setxattr.txt
index 408fe3b..4eed3df 100644 (file)
@@ -1,9 +1,10 @@
-REINT_SETXATTR
-^^^^^^^^^^^^^^
-[[mdt-rec-setxattr]]
+REINT_SETXATTR Structure
+^^^^^^^^^^^^^^^^^^^^^^^^
+[[struct-mdt-rec-setxattr]]
 
 The variant of the 'mdt_rec_reint' for the 'setxattr' operation is:
 
+[source,c]
 ----
 struct mdt_rec_setxattr {
         __u32           sx_opcode;
@@ -43,7 +44,8 @@ and the second 'struct lu_fid' is just "padding".
 The 'sx_valid' field identifies which of the other fields in the
 structure are to be honored. If the corresponding flag bit is not set
 then the value of the corresponding field is to be ignored. The flag
-values draw from the same set of definitions as <<mdt-rec-setattr>>.
+values draw from the same set of definitions as
+<<struct-mdt-rec-setattr>>.
 
 .Flags for 'sx_valid' field of 'struct mdt_rec_setxattr'
 [options="header"]