diff options
author | Bob Peterson <rpeterso@redhat.com> | 2021-09-29 15:06:21 -0500 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2021-10-25 08:42:18 +0200 |
commit | 3278b977c9c4c51a4e5e04fb40a991fb28edc2b7 (patch) | |
tree | c9cdd9c5ee1aeed959cf37f86111f0bc44b6776d /fs/gfs2/incore.h | |
parent | a739765cd8e69560d61d512e6847f6e24f8aea99 (diff) | |
download | linux-3278b977c9c4c51a4e5e04fb40a991fb28edc2b7.tar.gz |
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/incore.h')
-rw-r--r-- | fs/gfs2/incore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h index ca42d310fd4d..af632dc65231 100644 --- a/fs/gfs2/incore.h +++ b/fs/gfs2/incore.h @@ -220,7 +220,7 @@ struct gfs2_glock_operations { int (*go_xmote_bh)(struct gfs2_glock *gl); void (*go_inval) (struct gfs2_glock *gl, int flags); int (*go_demote_ok) (const struct gfs2_glock *gl); - int (*go_lock) (struct gfs2_holder *gh); + int (*go_instantiate) (struct gfs2_holder *gh); void (*go_dump)(struct seq_file *seq, struct gfs2_glock *gl, const char *fs_id_buf); void (*go_callback)(struct gfs2_glock *gl, bool remote); |