xfs: remove ->b_offset handling for page backed buffers
authorChristoph Hellwig <hch@lst.de>
Mon, 7 Jun 2021 01:49:50 +0000 (11:49 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 7 Jun 2021 01:49:50 +0000 (11:49 +1000)
commit54cd3aa6f8102f4648190fc93eb5dd8603de9b52
tree7a0cd85dc1c692772f82657681bb3c6cda78180d
parente7d236a6fe5102092c463112124cf52e4d71885e
xfs: remove ->b_offset handling for page backed buffers

->b_offset can only be non-zero for _XBF_KMEM backed buffers, so
remove all code dealing with it for page backed buffers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
[dgc: modified to fit this patchset]
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h