Commit a55cefcc authored by Eric Sandeen's avatar Eric Sandeen Committed by Darrick J. Wong

xfs: remove unused structure members & simple typedefs

Remove some unused typedef'd simple types, and some unused
structure members.
Signed-off-by: default avatarEric Sandeen <sandeen@redhat.com>
Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
parent 35dab307
...@@ -21,7 +21,6 @@ typedef int32_t xfs_suminfo_t; /* type of bitmap summary info */ ...@@ -21,7 +21,6 @@ typedef int32_t xfs_suminfo_t; /* type of bitmap summary info */
typedef uint32_t xfs_rtword_t; /* word type for bitmap manipulations */ typedef uint32_t xfs_rtword_t; /* word type for bitmap manipulations */
typedef int64_t xfs_lsn_t; /* log sequence number */ typedef int64_t xfs_lsn_t; /* log sequence number */
typedef int32_t xfs_tid_t; /* transaction identifier */
typedef uint32_t xfs_dablk_t; /* dir/attr block number (in file) */ typedef uint32_t xfs_dablk_t; /* dir/attr block number (in file) */
typedef uint32_t xfs_dahash_t; /* dir/attr hash value */ typedef uint32_t xfs_dahash_t; /* dir/attr hash value */
...@@ -33,7 +32,6 @@ typedef uint64_t xfs_fileoff_t; /* block number in a file */ ...@@ -33,7 +32,6 @@ typedef uint64_t xfs_fileoff_t; /* block number in a file */
typedef uint64_t xfs_filblks_t; /* number of blocks in a file */ typedef uint64_t xfs_filblks_t; /* number of blocks in a file */
typedef int64_t xfs_srtblock_t; /* signed version of xfs_rtblock_t */ typedef int64_t xfs_srtblock_t; /* signed version of xfs_rtblock_t */
typedef int64_t xfs_sfiloff_t; /* signed block number in a file */
/* /*
* New verifiers will return the instruction address of the failing check. * New verifiers will return the instruction address of the failing check.
......
...@@ -394,8 +394,6 @@ struct xlog { ...@@ -394,8 +394,6 @@ struct xlog {
/* The following field are used for debugging; need to hold icloglock */ /* The following field are used for debugging; need to hold icloglock */
#ifdef DEBUG #ifdef DEBUG
void *l_iclog_bak[XLOG_MAX_ICLOGS]; void *l_iclog_bak[XLOG_MAX_ICLOGS];
/* log record crc error injection factor */
uint32_t l_badcrc_factor;
#endif #endif
/* log recovery lsn tracking (for buffer submission */ /* log recovery lsn tracking (for buffer submission */
xfs_lsn_t l_recovery_lsn; xfs_lsn_t l_recovery_lsn;
......
...@@ -57,7 +57,6 @@ struct xfs_error_cfg { ...@@ -57,7 +57,6 @@ struct xfs_error_cfg {
typedef struct xfs_mount { typedef struct xfs_mount {
struct super_block *m_super; struct super_block *m_super;
xfs_tid_t m_tid; /* next unused tid for fs */
/* /*
* Bitsets of per-fs metadata that have been checked and/or are sick. * Bitsets of per-fs metadata that have been checked and/or are sick.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment