OSDN Git Service

gfs2: Convert function bh_get to use iomap
authorBob Peterson <rpeterso@redhat.com>
Fri, 11 Feb 2022 15:50:36 +0000 (10:50 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 24 May 2022 19:29:14 +0000 (21:29 +0200)
commitc360abbb9db298d0548b31e1a86a48ebb157d7cd
tree53c83fbd3c14c13a673154bebe9beb63f47e1243
parent5fcff61eea9efd1f4b60e89d2d686b5feaea100f
gfs2: Convert function bh_get to use iomap

Before this patch, function bh_get used block_map to figure out the
block it needed to read in from the quota_change file. This patch
changes it to use iomap directly to make it more efficient.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/quota.c