summaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2014-01-16 08:52:16 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2014-01-16 14:22:12 +0000
commit8b127d0494890ced4e35fb8eca6d6b57564ee1c6 (patch)
treef6c783591e887a54818df5ecb7b23b7066767b36 /fs/gfs2
parentac3beb6a5de048e7c0676f630ad2048a7b37b305 (diff)
downloadlinux-stable-8b127d0494890ced4e35fb8eca6d6b57564ee1c6.tar.gz
linux-stable-8b127d0494890ced4e35fb8eca6d6b57564ee1c6.tar.bz2
linux-stable-8b127d0494890ced4e35fb8eca6d6b57564ee1c6.zip
GFS2: Small cleanup
This is a small cleanup to function gfs2_rgrp_go_lock so that it uses rgd instead of its more complicated twin. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/rgrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c
index e14e8877db96..a1da21349235 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);
}
/**