]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit423d562c4cb668e90a38bbc90a5b2e690c65878b
treeb2835ff2a0500d6d6f0a7b5965dec940b383c34c
parent774b15d74a18e6f414aa912ec029d9a868f806c7
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