aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/meta_io.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-02-23 10:11:47 +0000
committerSteven Whitehouse <swhiteho@redhat.com>2006-02-23 10:11:47 +0000
commit6a6b3d018f4781f108d170f2181281a3c5589dc8 (patch)
tree471b6b8392fbcad36e62161c8f97893f97f0699e /fs/gfs2/meta_io.c
parent[DLM] Remove support for range locks (II) (diff)
downloadlinux-dev-6a6b3d018f4781f108d170f2181281a3c5589dc8.tar.xz
linux-dev-6a6b3d018f4781f108d170f2181281a3c5589dc8.zip
[GFS2] Patch to remove stats gathering from GFS2
Signed-off-by: David Teigland <teigland@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/meta_io.c')
-rw-r--r--fs/gfs2/meta_io.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/gfs2/meta_io.c b/fs/gfs2/meta_io.c
index 8fba84306755..f4c4dfbf6986 100644
--- a/fs/gfs2/meta_io.c
+++ b/fs/gfs2/meta_io.c
@@ -146,7 +146,6 @@ static int gfs2_aspace_releasepage(struct page *page, gfp_t gfp_mask)
gfs2_assert_warn(sdp, list_empty(&bd->bd_le.le_list));
gfs2_assert_warn(sdp, !bd->bd_ail);
kmem_cache_free(gfs2_bufdata_cachep, bd);
- atomic_dec(&sdp->sd_bufdata_count);
set_v2bd(bh, NULL);
}
@@ -557,8 +556,6 @@ void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh, int meta
}
bd = kmem_cache_alloc(gfs2_bufdata_cachep, GFP_NOFS | __GFP_NOFAIL),
- atomic_inc(&gl->gl_sbd->sd_bufdata_count);
-
memset(bd, 0, sizeof(struct gfs2_bufdata));
bd->bd_bh = bh;