diff options
author | Christoph Hellwig <hch@lst.de> | 2021-10-12 01:11:21 +0200 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-10-14 18:19:33 +0200 |
commit | de38db7239c4bd2f37ebfcb8a5f22b4e8e657737 (patch) | |
tree | 811e60ff96de740637335ae4ae399809c20fead3 /fs/xfs/xfs_buf_item_recover.c | |
parent | xfs: check that bc_nlevels never overflows (diff) | |
download | linux-de38db7239c4bd2f37ebfcb8a5f22b4e8e657737.tar.xz linux-de38db7239c4bd2f37ebfcb8a5f22b4e8e657737.zip |
xfs: remove the xfs_dinode_t typedef
Remove the few leftover instances of the xfs_dinode_t typedef.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_buf_item_recover.c')
-rw-r--r-- | fs/xfs/xfs_buf_item_recover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_buf_item_recover.c b/fs/xfs/xfs_buf_item_recover.c index a476c7ef5d53..70ca5751b13e 100644 --- a/fs/xfs/xfs_buf_item_recover.c +++ b/fs/xfs/xfs_buf_item_recover.c @@ -603,7 +603,7 @@ xlog_recover_do_inode_buffer( inodes_per_buf = BBTOB(bp->b_length) >> mp->m_sb.sb_inodelog; for (i = 0; i < inodes_per_buf; i++) { next_unlinked_offset = (i * mp->m_sb.sb_inodesize) + - offsetof(xfs_dinode_t, di_next_unlinked); + offsetof(struct xfs_dinode, di_next_unlinked); while (next_unlinked_offset >= (reg_buf_offset + reg_buf_bytes)) { |