* [Cluster-devel] [GFS2 PATCH] GFS2: Small cleanup
[not found] <1400102517.3080466.1389880265366.JavaMail.root@redhat.com>
@ 2014-01-16 13:52 ` Bob Peterson
0 siblings, 0 replies; only message in thread
From: Bob Peterson @ 2014-01-16 13:52 UTC (permalink / raw)
To: cluster-devel.redhat.com
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 <rpeterso@redhat.com>
---
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);
}
/**
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-01-16 13:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1400102517.3080466.1389880265366.JavaMail.root@redhat.com>
2014-01-16 13:52 ` [Cluster-devel] [GFS2 PATCH] GFS2: Small cleanup Bob Peterson
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.