diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2022-06-10 13:06:06 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2022-06-29 17:59:07 +0300 |
commit | 5f38a4d3c44b01495dcb4952b53d90170a30c51a (patch) | |
tree | d0f1fb20b35cb4ab3cf327bc09aa7357f77c28da /fs/gfs2/rgrp.c | |
parent | 86c30a01f5da411d0d090f14f7aeadd8c20b2d05 (diff) | |
download | linux-5f38a4d3c44b01495dcb4952b53d90170a30c51a.tar.xz |
gfs2: Make go_instantiate take a glock
Make go_instantiate take a glock instead of a glock holder as its argument:
this handler is supposed to instantiate the object associated with the glock.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/rgrp.c')
-rw-r--r-- | fs/gfs2/rgrp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index 8a63870eef5a..5439bad3083e 100644 --- a/fs/gfs2/rgrp.c +++ b/fs/gfs2/rgrp.c @@ -1196,9 +1196,8 @@ static void rgrp_set_bitmap_flags(struct gfs2_rgrpd *rgd) * Returns: errno */ -int gfs2_rgrp_go_instantiate(struct gfs2_holder *gh) +int gfs2_rgrp_go_instantiate(struct gfs2_glock *gl) { - struct gfs2_glock *gl = gh->gh_gl; struct gfs2_rgrpd *rgd = gl->gl_object; struct gfs2_sbd *sdp = rgd->rd_sbd; unsigned int length = rgd->rd_length; |