gfs2: Simplify the buf_limit and databuf_limit definitions
authorAndreas Gruenbacher <agruenba@redhat.com>
Sat, 5 Dec 2020 12:21:50 +0000 (13:21 +0100)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 19 Jan 2021 20:17:07 +0000 (21:17 +0100)
commit458094c2c6115cda721fd11a56f7e4f27cddd5b1
treeb2835ff2a0500d6d6f0a7b5965dec940b383c34c
parent736b2f778f0a71ce54abe7e6d2c6f7591b95f7b8
gfs2: Simplify the buf_limit and databuf_limit definitions

The BUF_OFFSET and DATABUF_OFFSET definitions are only used in buf_limit
and databuf_limit, respectively, and the rounding done in those
definitions is immediately wiped out by dividing by the element size.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/lops.h