aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorGravatar Andreas Gruenbacher <agruenba@redhat.com> 2022-06-10 12:06:06 +0200
committerGravatar Andreas Gruenbacher <agruenba@redhat.com> 2022-06-29 16:59:07 +0200
commit5f38a4d3c44b01495dcb4952b53d90170a30c51a (patch)
treed0f1fb20b35cb4ab3cf327bc09aa7357f77c28da /fs/gfs2/incore.h
parentgfs2: Add new go_held glock operation (diff)
downloadlinux-5f38a4d3c44b01495dcb4952b53d90170a30c51a.tar.gz
linux-5f38a4d3c44b01495dcb4952b53d90170a30c51a.tar.bz2
linux-5f38a4d3c44b01495dcb4952b53d90170a30c51a.zip
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/incore.h')
-rw-r--r--fs/gfs2/incore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index 15e4258a1dad..d09d9892cd05 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -219,7 +219,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_instantiate) (struct gfs2_holder *gh);
+ int (*go_instantiate) (struct gfs2_glock *gl);
int (*go_held)(struct gfs2_holder *gh);
void (*go_dump)(struct seq_file *seq, struct gfs2_glock *gl,
const char *fs_id_buf);