aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2007-03-01 05:36:32 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2007-03-07 14:02:53 -0500
commit631c42e170564108423fa4073531db159f2523ea (patch)
treeaaa57c63ef9412f5b0b4b32683b08e786a28ea07 /fs/gfs2/glock.c
parent04b159b132c0d8e92dae8c72f134fd5b13b43deb (diff)
[GFS2] go_drop_bh is never used, so remove it
The ->go_drop_bh function is never used, so this removes it and the single caller, Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r--fs/gfs2/glock.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index 6618c119025..8597fde2dba 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -953,9 +953,6 @@ static void drop_bh(struct gfs2_glock *gl, unsigned int ret)
953 spin_unlock(&gl->gl_spin); 953 spin_unlock(&gl->gl_spin);
954 } 954 }
955 955
956 if (glops->go_drop_bh)
957 glops->go_drop_bh(gl);
958
959 spin_lock(&gl->gl_spin); 956 spin_lock(&gl->gl_spin);
960 gl->gl_req_gh = NULL; 957 gl->gl_req_gh = NULL;
961 gl->gl_req_bh = NULL; 958 gl->gl_req_bh = NULL;