* ioctl command to export information not in standard interfaces
* 140: IRIX statvfs.f_fstr field - UUID from the superblock
*/
+/* XFS_IOC_GETFSUUID --[TODO]-- deprecated 140 */
#define XFS_IOC_GETFSUUID _IOR ('X', 140, unsigned char[16])
/*
* Block I/O parameterization. A basic block (BB) is the lowest size of
- * filesystem allocation, and must == NBPSCTR. Length units given to bio
+ * filesystem allocation, and must equal 512. Length units given to bio
* routines are in BB's.
*/
#define BBSHIFT 9
int length,
int count,
xfs_log_ticket_t *ticket,
- char clientid,
+ __uint8_t clientid,
uint flags);
int xfs_log_write(struct xfs_mount *mp,
xfs_log_iovec_t region[],
xlog_tid_t t_tid; /* transaction identifier : 4 */
int t_curr_res; /* current reservation in bytes : 4 */
int t_unit_res; /* unit reservation in bytes : 4 */
- char t_ocnt; /* original count : 1 */
- char t_cnt; /* current count : 1 */
- char t_clientid; /* who does this belong to; : 1 */
- char t_flags; /* properties of reservation : 1 */
+ __uint8_t t_ocnt; /* original count : 1 */
+ __uint8_t t_cnt; /* current count : 1 */
+ __uint8_t t_clientid; /* who does this belong to; : 1 */
+ __uint8_t t_flags; /* properties of reservation : 1 */
} xlog_ticket_t;
#endif
typedef struct xlog_op_header {
xlog_tid_t oh_tid; /* transaction id of operation : 4 b */
int oh_len; /* bytes in data region : 2 b */
- char oh_clientid; /* who sent me this : 1 b */
- char oh_flags; /* : 1 b */
+ __uint8_t oh_clientid; /* who sent me this : 1 b */
+ __uint8_t oh_flags; /* : 1 b */
ushort oh_res2; /* 32 bit align : 2 b */
} xlog_op_header_t;
xlog_rec_header_t hic_header;
char hic_sector[XLOG_HEADER_SIZE];
} ic_h2;
- char ic_data[1];
+ __uint8_t ic_data[1];
} xlog_in_core_t;
/*