]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/gfs2/bmap.c
gfs2: Pass resource group to rgblk_free
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 4 Oct 2018 14:36:02 +0000 (15:36 +0100)
committerBob Peterson <rpeterso@redhat.com>
Fri, 12 Oct 2018 12:33:07 +0000 (07:33 -0500)
commit0ddeded4ae768882e5c3a5558f77f27e4e445a6a
treed32a5bf5e432cf1949cc71cdaf587345fe165f46
parentc3abc29e54a14953ddb26feeb62dd02d57925e52
gfs2: Pass resource group to rgblk_free

Function rgblk_free can only deal with one resource group at a time, so
pass that resource group is as a parameter.  Several of the callers
already have the resource group at hand, so we only need additional
lookup code in a few places.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Reviewed-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c
fs/gfs2/dir.c
fs/gfs2/rgrp.c
fs/gfs2/rgrp.h
fs/gfs2/xattr.c