aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_dentry.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/ops_dentry.c')
-rw-r--r--fs/gfs2/ops_dentry.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/ops_dentry.c b/fs/gfs2/ops_dentry.c
index 5c618611c11b..fb8f70d225b9 100644
--- a/fs/gfs2/ops_dentry.c
+++ b/fs/gfs2/ops_dentry.c
@@ -45,8 +45,6 @@ static int gfs2_drevalidate(struct dentry *dentry, struct nameidata *nd)
45 45
46 lock_kernel(); 46 lock_kernel();
47 47
48 atomic_inc(&sdp->sd_ops_dentry);
49
50 inode = dentry->d_inode; 48 inode = dentry->d_inode;
51 if (inode && is_bad_inode(inode)) 49 if (inode && is_bad_inode(inode))
52 goto invalid; 50 goto invalid;