]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit03158d20eb3b33ce7f1443aa80f19f9046aa8589
treed32a5bf5e432cf1949cc71cdaf587345fe165f46
parent2a486b8a64f24fe2f58c9f471fdcefce8964ada6
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