diff options
Diffstat (limited to 'fs/xfs/libxfs/xfs_format.h')
| -rw-r--r-- | fs/xfs/libxfs/xfs_format.h | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/fs/xfs/libxfs/xfs_format.h b/fs/xfs/libxfs/xfs_format.h index 2d7057b7984b..d665c04e69dd 100644 --- a/fs/xfs/libxfs/xfs_format.h +++ b/fs/xfs/libxfs/xfs_format.h @@ -184,7 +184,7 @@ typedef struct xfs_sb {   * Superblock - on disk version.  Must match the in core version above.   * Must be padded to 64 bit alignment.   */ -typedef struct xfs_dsb { +struct xfs_dsb {  	__be32		sb_magicnum;	/* magic number == XFS_SB_MAGIC */  	__be32		sb_blocksize;	/* logical block size, bytes */  	__be64		sb_dblocks;	/* number of data blocks */ @@ -263,7 +263,7 @@ typedef struct xfs_dsb {  	uuid_t		sb_meta_uuid;	/* metadata file system unique id */  	/* must be padded to 64 bit alignment */ -} xfs_dsb_t; +};  /*   * Misc. Flags - warning - these will be cleared by xfs_repair unless @@ -780,7 +780,7 @@ static inline time64_t xfs_bigtime_to_unix(uint64_t ondisk_seconds)   * padding field for v3 inodes.   */  #define	XFS_DINODE_MAGIC		0x494e	/* 'IN' */ -typedef struct xfs_dinode { +struct xfs_dinode {  	__be16		di_magic;	/* inode magic # = XFS_DINODE_MAGIC */  	__be16		di_mode;	/* mode and type of file */  	__u8		di_version;	/* inode version */ @@ -825,7 +825,7 @@ typedef struct xfs_dinode {  	uuid_t		di_uuid;	/* UUID of the filesystem */  	/* structure must be padded to 64 bit alignment */ -} xfs_dinode_t; +};  #define XFS_DINODE_CRC_OFF	offsetof(struct xfs_dinode, di_crc) @@ -1215,7 +1215,7 @@ struct xfs_disk_dquot {   * This is what goes on disk. This is separated from the xfs_disk_dquot because   * carrying the unnecessary padding would be a waste of memory.   */ -typedef struct xfs_dqblk { +struct xfs_dqblk {  	struct xfs_disk_dquot	dd_diskdq; /* portion living incore as well */  	char			dd_fill[4];/* filling for posterity */ @@ -1225,7 +1225,7 @@ typedef struct xfs_dqblk {  	__be32		  dd_crc;	/* checksum */  	__be64		  dd_lsn;	/* last modification in log */  	uuid_t		  dd_uuid;	/* location information */ -} xfs_dqblk_t; +};  #define XFS_DQUOT_CRC_OFF	offsetof(struct xfs_dqblk, dd_crc) |