From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Peterson Date: Thu, 16 Jan 2014 08:52:16 -0500 (EST) Subject: [Cluster-devel] [GFS2 PATCH] GFS2: Small cleanup In-Reply-To: <1400102517.3080466.1389880265366.JavaMail.root@redhat.com> Message-ID: <1266741982.3080802.1389880336381.JavaMail.root@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, This is a small cleanup to function gfs2_rgrp_go_lock so that it uses rgd instead of its more complicated twin. Regards, Bob Peterson Red Hat File Systems Signed-off-by: Bob Peterson --- diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index 183cf0f..7ea884a 100644 --- a/fs/gfs2/rgrp.c +++ b/fs/gfs2/rgrp.c @@ -1199,7 +1199,7 @@ int gfs2_rgrp_go_lock(struct gfs2_holder *gh) if (gh->gh_flags & GL_SKIP && sdp->sd_args.ar_rgrplvb) return 0; - return gfs2_rgrp_bh_get((struct gfs2_rgrpd *)gh->gh_gl->gl_object); + return gfs2_rgrp_bh_get(rgd); } /**