summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-06-07 11:50:00 +1000
committerDave Chinner <david@fromorbit.com>2021-06-07 11:50:00 +1000
commit934d1076bb2c5bbb3d5b0e3892b208d1f537949d (patch)
tree235ff4b15a0d321cc8ecb18ba24cb252cdb12916 /scripts/gdb/linux
parent54cd3aa6f8102f4648190fc93eb5dd8603de9b52 (diff)
xfs: simplify the b_page_count calculation
Ever since we stopped using the Linux page cache to back XFS buffers there is no need to take the start sector into account for calculating the number of pages in a buffer, as the data always start from the beginning of the buffer. Signed-off-by: Christoph Hellwig <hch@lst.de> [dgc: modified to suit this series] Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions