summaryrefslogtreecommitdiff
path: root/fs/gfs2/ops_vm.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/ops_vm.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/ops_vm.c')
-rw-r--r--fs/gfs2/ops_vm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/gfs2/ops_vm.c b/fs/gfs2/ops_vm.c
index 8f77bb7896bd..808110e3ec5e 100644
--- a/fs/gfs2/ops_vm.c
+++ b/fs/gfs2/ops_vm.c
@@ -48,8 +48,6 @@ static struct page *gfs2_private_nopage(struct vm_area_struct *area,
struct page *result;
int error;
- atomic_inc(&ip->i_sbd->sd_ops_vm);
-
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh);
if (error)
return NULL;
@@ -149,8 +147,6 @@ static struct page *gfs2_sharewrite_nopage(struct vm_area_struct *area,
int alloc_required;
int error;
- atomic_inc(&ip->i_sbd->sd_ops_vm);
-
error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh);
if (error)
return NULL;