aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/meta_io.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2006-02-23 05:11:47 -0500
committerSteven Whitehouse <swhiteho@redhat.com>2006-02-23 05:11:47 -0500
commit6a6b3d018f4781f108d170f2181281a3c5589dc8 (patch)
tree471b6b8392fbcad36e62161c8f97893f97f0699e /fs/gfs2/meta_io.c
parent8d3b35a4af87965d1873872b21e504558f62116a (diff)
[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)
146 gfs2_assert_warn(sdp, list_empty(&bd->bd_le.le_list)); 146 gfs2_assert_warn(sdp, list_empty(&bd->bd_le.le_list));
147 gfs2_assert_warn(sdp, !bd->bd_ail); 147 gfs2_assert_warn(sdp, !bd->bd_ail);
148 kmem_cache_free(gfs2_bufdata_cachep, bd); 148 kmem_cache_free(gfs2_bufdata_cachep, bd);
149 atomic_dec(&sdp->sd_bufdata_count);
150 set_v2bd(bh, NULL); 149 set_v2bd(bh, NULL);
151 } 150 }
152 151
@@ -557,8 +556,6 @@ void gfs2_attach_bufdata(struct gfs2_glock *gl, struct buffer_head *bh, int meta
557 } 556 }
558 557
559 bd = kmem_cache_alloc(gfs2_bufdata_cachep, GFP_NOFS | __GFP_NOFAIL), 558 bd = kmem_cache_alloc(gfs2_bufdata_cachep, GFP_NOFS | __GFP_NOFAIL),
560 atomic_inc(&gl->gl_sbd->sd_bufdata_count);
561
562 memset(bd, 0, sizeof(struct gfs2_bufdata)); 559 memset(bd, 0, sizeof(struct gfs2_bufdata));
563 560
564 bd->bd_bh = bh; 561 bd->bd_bh = bh;