aboutsummaryrefslogtreecommitdiff
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.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/fs/gfs2/ops_dentry.c b/fs/gfs2/ops_dentry.c
index a1ba1ec8eef..fa6ceffc7d8 100644
--- a/fs/gfs2/ops_dentry.c
+++ b/fs/gfs2/ops_dentry.c
@@ -81,31 +81,27 @@ static int gfs2_drevalidate(struct dentry *dentry, struct nameidata *nd)
goto fail_gunlock;
}
- valid_gunlock:
+valid_gunlock:
gfs2_glock_dq_uninit(&d_gh);
-
- valid:
+valid:
dput(parent);
return 1;
- invalid_gunlock:
+invalid_gunlock:
gfs2_glock_dq_uninit(&d_gh);
-
- invalid:
+invalid:
if (inode && S_ISDIR(inode->i_mode)) {
if (have_submounts(dentry))
goto valid;
shrink_dcache_parent(dentry);
}
d_drop(dentry);
-
dput(parent);
return 0;
- fail_gunlock:
+fail_gunlock:
gfs2_glock_dq_uninit(&d_gh);
-
- fail:
+fail:
dput(parent);
return 0;
}