diff options
author | David Teigland <teigland@redhat.com> | 2006-02-23 05:13:13 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2006-02-23 05:13:13 -0500 |
commit | d95cb943f5b217c5b5f97f5af0fea3c511ed9c97 (patch) | |
tree | dc84771426edfedfd95bfdaafff218ade799d44a /fs/gfs2/glock.c | |
parent | 6a6b3d018f4781f108d170f2181281a3c5589dc8 (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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index cf1dc17faf4f..d4fa395ed39f 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) | |||
825 | 825 | ||
826 | static void state_change(struct gfs2_glock *gl, unsigned int new_state) | 826 | static void state_change(struct gfs2_glock *gl, unsigned int new_state) |
827 | { | 827 | { |
828 | struct gfs2_sbd *sdp = gl->gl_sbd; | ||
829 | int held1, held2; | 828 | int held1, held2; |
830 | 829 | ||
831 | held1 = (gl->gl_state != LM_ST_UNLOCKED); | 830 | held1 = (gl->gl_state != LM_ST_UNLOCKED); |
@@ -1390,7 +1389,6 @@ int gfs2_glock_wait(struct gfs2_holder *gh) | |||
1390 | void gfs2_glock_dq(struct gfs2_holder *gh) | 1389 | void gfs2_glock_dq(struct gfs2_holder *gh) |
1391 | { | 1390 | { |
1392 | struct gfs2_glock *gl = gh->gh_gl; | 1391 | struct gfs2_glock *gl = gh->gh_gl; |
1393 | struct gfs2_sbd *sdp = gl->gl_sbd; | ||
1394 | struct gfs2_glock_operations *glops = gl->gl_ops; | 1392 | struct gfs2_glock_operations *glops = gl->gl_ops; |
1395 | 1393 | ||
1396 | if (gh->gh_flags & GL_SYNC) | 1394 | if (gh->gh_flags & GL_SYNC) |