Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xfs: remove unused structure members & simple typedefs

Remove some unused typedef'd simple types, and some unused
structure members.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>

authored by

Eric Sandeen and committed by
Darrick J. Wong
a55cefcc 35dab307

-5
-2
fs/xfs/libxfs/xfs_types.h
··· 21 21 typedef uint32_t xfs_rtword_t; /* word type for bitmap manipulations */ 22 22 23 23 typedef int64_t xfs_lsn_t; /* log sequence number */ 24 - typedef int32_t xfs_tid_t; /* transaction identifier */ 25 24 26 25 typedef uint32_t xfs_dablk_t; /* dir/attr block number (in file) */ 27 26 typedef uint32_t xfs_dahash_t; /* dir/attr hash value */ ··· 32 33 typedef uint64_t xfs_filblks_t; /* number of blocks in a file */ 33 34 34 35 typedef int64_t xfs_srtblock_t; /* signed version of xfs_rtblock_t */ 35 - typedef int64_t xfs_sfiloff_t; /* signed block number in a file */ 36 36 37 37 /* 38 38 * New verifiers will return the instruction address of the failing check.
-2
fs/xfs/xfs_log_priv.h
··· 394 394 /* The following field are used for debugging; need to hold icloglock */ 395 395 #ifdef DEBUG 396 396 void *l_iclog_bak[XLOG_MAX_ICLOGS]; 397 - /* log record crc error injection factor */ 398 - uint32_t l_badcrc_factor; 399 397 #endif 400 398 /* log recovery lsn tracking (for buffer submission */ 401 399 xfs_lsn_t l_recovery_lsn;
-1
fs/xfs/xfs_mount.h
··· 57 57 58 58 typedef struct xfs_mount { 59 59 struct super_block *m_super; 60 - xfs_tid_t m_tid; /* next unused tid for fs */ 61 60 62 61 /* 63 62 * Bitsets of per-fs metadata that have been checked and/or are sick.