summaryrefslogtreecommitdiff
path: root/block/blk-mq-rdma.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-10-19 19:09:44 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2019-10-21 19:04:58 +0300
commit43568226a4a3da1b63a34578d33725291f2c5918 (patch)
treed298191dab68754550435e4a666e69af5e025497 /block/blk-mq-rdma.c
parent36adcbace24e99ed89ac5310a0e1c3890e551665 (diff)
downloadlinux-43568226a4a3da1b63a34578d33725291f2c5918.tar.xz
xfs: factor out a helper to calculate the end_fsb
We have lots of places that want to calculate the final fsb for a offset + count in bytes and check that the result fits into s_maxbytes. Factor out a helper for that. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Allison Collins <allison.henderson@oracle.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'block/blk-mq-rdma.c')
0 files changed, 0 insertions, 0 deletions