diff options
author | Bob Peterson | 2021-09-29 15:06:21 -0500 |
---|---|---|
committer | Andreas Gruenbacher | 2021-10-25 08:42:18 +0200 |
commit | 3278b977c9c4c51a4e5e04fb40a991fb28edc2b7 (patch) | |
tree | c9cdd9c5ee1aeed959cf37f86111f0bc44b6776d /fs/gfs2/rgrp.c | |
parent | a739765cd8e69560d61d512e6847f6e24f8aea99 (diff) |
gfs2: change go_lock to go_instantiate
Before this patch, the go_lock glock operations (glops) did not do
any actual locking. They were used to instantiate objects, like reading
in dinodes and rgrps from the media.
This patch renames the functions to go_instantiate for clarity.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/rgrp.c')
-rw-r--r-- | fs/gfs2/rgrp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/rgrp.c b/fs/gfs2/rgrp.c index 96b2fbed6bf1..cdcbc822064d 100644 --- a/fs/gfs2/rgrp.c +++ b/fs/gfs2/rgrp.c @@ -1288,7 +1288,7 @@ static int update_rgrp_lvb(struct gfs2_rgrpd *rgd) return 0; } -int gfs2_rgrp_go_lock(struct gfs2_holder *gh) +int gfs2_rgrp_go_instantiate(struct gfs2_holder *gh) { struct gfs2_rgrpd *rgd = gh->gh_gl->gl_object; |