projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac3beb6
)
GFS2: Small cleanup
author
Bob Peterson
<rpeterso@redhat.com>
Thu, 16 Jan 2014 13:52:16 +0000
(08:52 -0500)
committer
Steven Whitehouse
<swhiteho@redhat.com>
Thu, 16 Jan 2014 14:22:12 +0000
(14:22 +0000)
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>
fs/gfs2/rgrp.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/rgrp.c
b/fs/gfs2/rgrp.c
index e14e8877db965752926a00b1436235a795aafdde..a1da2134923592e7ca9feaa1a3c1a6b707946df2 100644
(file)
--- 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
);
}
/**