Skip to content

Commit 1b5c7cc

Browse files
Christoph Hellwigcmaiolino
authored andcommitted
xfs: remove the unused xfs_buf_log_format_t typedef
Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
1 parent 3dde08b commit 1b5c7cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fs/xfs/libxfs/xfs_log_format.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,15 +541,15 @@ struct xfs_log_dinode {
541541
#define __XFS_BLF_DATAMAP_SIZE ((XFS_MAX_BLOCKSIZE / XFS_BLF_CHUNK) / NBWORD)
542542
#define XFS_BLF_DATAMAP_SIZE (__XFS_BLF_DATAMAP_SIZE + 1)
543543

544-
typedef struct xfs_buf_log_format {
544+
struct xfs_buf_log_format {
545545
unsigned short blf_type; /* buf log item type indicator */
546546
unsigned short blf_size; /* size of this item */
547547
unsigned short blf_flags; /* misc state */
548548
unsigned short blf_len; /* number of blocks in this buf */
549549
int64_t blf_blkno; /* starting blkno of this buf */
550550
unsigned int blf_map_size; /* used size of data bitmap in words */
551551
unsigned int blf_data_map[XFS_BLF_DATAMAP_SIZE]; /* dirty bitmap */
552-
} xfs_buf_log_format_t;
552+
};
553553

554554
/*
555555
* All buffers now need to tell recovery where the magic number

0 commit comments

Comments
 (0)