Whamcloud - gitweb
LUDOC-296 protocol: Rearrange presentation to be more top-down
[doc/protocol.git] / struct_mdt_rec_setattr.txt
similarity index 96%
rename from mdt_rec_setattr.txt
rename to struct_mdt_rec_setattr.txt
index be12ed5..0c169be 100644 (file)
@@ -1,9 +1,10 @@
-REINT_SETATTR
-^^^^^^^^^^^^^
-[[mdt-rec-setattr]]
+REINT_SETATTR Structure
+^^^^^^^^^^^^^^^^^^^^^^^
+[[struct-mdt-rec-setattr]]
 
 The variant of the 'mdt_rec_reint' for the 'setattr' operation is:
 
+[source,c]
 ----
 struct mdt_rec_setattr {
         __u32           sa_opcode;
@@ -46,6 +47,7 @@ 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 flags
 are:
 
+[source,c]
 ----
 #define MDS_ATTR_MODE          0x1ULL /* = 1 */
 #define MDS_ATTR_UID           0x2ULL /* = 2 */