aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2022-06-10 12:06:06 +0200
committerAndreas Gruenbacher <agruenba@redhat.com>2022-06-29 16:59:07 +0200
commit5f38a4d3c44b01495dcb4952b53d90170a30c51a (patch)
treed0f1fb20b35cb4ab3cf327bc09aa7357f77c28da /fs/gfs2/glock.c
parent86c30a01f5da411d0d090f14f7aeadd8c20b2d05 (diff)
downloadlinux-5f38a4d3c44b01495dcb4952b53d90170a30c51a.tar.gz
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/glock.c')
-rw-r--r--fs/gfs2/glock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 6fe088644d7d9..832af9a03b151 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -507,7 +507,7 @@ again:
goto again;
}
- ret = glops->go_instantiate(gh);
+ ret = glops->go_instantiate(gl);
if (!ret)
clear_bit(GLF_INSTANTIATE_NEEDED, &gl->gl_flags);
clear_and_wake_up_bit(GLF_INSTANTIATE_IN_PROG, &gl->gl_flags);