summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_acl.h
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 /fs/xfs/xfs_acl.h
parent54cd3aa6f8102f4648190fc93eb5dd8603de9b52 (diff)
downloadlinux-934d1076bb2c5bbb3d5b0e3892b208d1f537949d.tar.gz
linux-934d1076bb2c5bbb3d5b0e3892b208d1f537949d.tar.bz2
linux-934d1076bb2c5bbb3d5b0e3892b208d1f537949d.zip
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 'fs/xfs/xfs_acl.h')
0 files changed, 0 insertions, 0 deletions