diff options
Diffstat (limited to 'fs/gfs2/ops_vm.c')
-rw-r--r-- | fs/gfs2/ops_vm.c | 4 |
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; |