gfs2: Stop messing with ip->i_rgd in the rlist code
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 21 Jun 2018 12:22:12 +0000 (07:22 -0500)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 4 Jul 2018 20:38:42 +0000 (21:38 +0100)
commit03f8c41c73da849ec2b73aa678ce6380e8318920
tree40109f5cb0c25276a6d14da5c4cbbb27e731475a
parentee9c7f9ae3d4fb9fb5c9cacbe3880d5dd66feb16
gfs2: Stop messing with ip->i_rgd in the rlist code

In the resource group list code, keep the last resource group added in
the last position in the array.  Check against that instead of messing
with ip->i_rgd.

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