xfs: remove xfs_buf.b_offset
authorChristoph Hellwig <hch@lst.de>
Mon, 10 Mar 2025 13:19:06 +0000 (14:19 +0100)
committerCarlos Maiolino <cem@kernel.org>
Mon, 10 Mar 2025 13:29:44 +0000 (14:29 +0100)
commit51e10993153adc14e8caf2a13d6defc8403dfb4c
tree0b628b2cd8bf81b282c246694d85cc1ead0ee720
parentf2a3717a74c2cf01e29ea3aba355e171eb0d5f5f
xfs: remove xfs_buf.b_offset

b_offset is only set for slab backed buffers and always set to
offset_in_page(bp->b_addr), which can be done just as easily in the only
user of b_offset.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h