aboutsummaryrefslogtreecommitdiff
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-02-23 10:13:13 +0000
committerSteven Whitehouse <swhiteho@redhat.com>2006-02-23 10:13:13 +0000
commitd95cb943f5b217c5b5f97f5af0fea3c511ed9c97 (patch)
treedc84771426edfedfd95bfdaafff218ade799d44a /fs/gfs2/glock.c
parent6a6b3d018f4781f108d170f2181281a3c5589dc8 (diff)
[GFS2] Patch to remove stats counters from GFS2 (II)
Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
-rw-r--r--fs/gfs2/glock.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c
index cf1dc17faf4..d4fa395ed39 100644
--- a/fs/gfs2/glock.c
+++ b/fs/gfs2/glock.c
@@ -825,7 +825,6 @@ static void handle_callback(struct gfs2_glock *gl, unsigned int state)
static void state_change(struct gfs2_glock *gl, unsigned int new_state)
{
- struct gfs2_sbd *sdp = gl->gl_sbd;
int held1, held2;
held1 = (gl->gl_state != LM_ST_UNLOCKED);
@@ -1390,7 +1389,6 @@ int gfs2_glock_wait(struct gfs2_holder *gh)
void gfs2_glock_dq(struct gfs2_holder *gh)
{
struct gfs2_glock *gl = gh->gh_gl;
- struct gfs2_sbd *sdp = gl->gl_sbd;
struct gfs2_glock_operations *glops = gl->gl_ops;
if (gh->gh_flags & GL_SYNC)