diff options
author | Bob Peterson <rpeterso@redhat.com> | 2021-03-19 14:56:44 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2021-04-03 22:32:09 +0300 |
commit | f68effb308c738da35cb5e750bf49bb0bb569492 (patch) | |
tree | 3b8d5e9e6ff956b339a956824ca2f24c50fe6483 /fs/gfs2/glock.c | |
parent | e7dfab8287bf5c5db3aec0f98e1d06d97ca1b7c7 (diff) | |
download | linux-f68effb308c738da35cb5e750bf49bb0bb569492.tar.xz |
gfs2: Eliminate gh parameter from go_xmote_bh func
The only glock that uses go_xmote_bh glops function is the freeze glock
which uses freeze_go_xmote_bh. It does not use its gh parameter, so
this patch eliminates the unneeded parameter.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r-- | fs/gfs2/glock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 9567520d79f7..f6f66c83b4ff 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c @@ -566,7 +566,7 @@ retry: if (state != LM_ST_UNLOCKED) { if (glops->go_xmote_bh) { spin_unlock(&gl->gl_lockref.lock); - rv = glops->go_xmote_bh(gl, gh); + rv = glops->go_xmote_bh(gl); spin_lock(&gl->gl_lockref.lock); if (rv) { do_error(gl, rv); |