aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_vm.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/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,
48 struct page *result; 48 struct page *result;
49 int error; 49 int error;
50 50
51 atomic_inc(&ip->i_sbd->sd_ops_vm);
52
53 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh); 51 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_SHARED, 0, &i_gh);
54 if (error) 52 if (error)
55 return NULL; 53 return NULL;
@@ -149,8 +147,6 @@ static struct page *gfs2_sharewrite_nopage(struct vm_area_struct *area,
149 int alloc_required; 147 int alloc_required;
150 int error; 148 int error;
151 149
152 atomic_inc(&ip->i_sbd->sd_ops_vm);
153
154 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh); 150 error = gfs2_glock_nq_init(ip->i_gl, LM_ST_EXCLUSIVE, 0, &i_gh);
155 if (error) 151 if (error)
156 return NULL; 152 return NULL;