]> 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)
commitb7714035396693332fd63a7381c2ba1d97170022
treeb2835ff2a0500d6d6f0a7b5965dec940b383c34c
parent797f2e28fed4619da05918546610dee539d21437
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