aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/ops_inode.c')
-rw-r--r--fs/gfs2/ops_inode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c
index 6b8c2bdb5a0c..2607c2c6de2b 100644
--- a/fs/gfs2/ops_inode.c
+++ b/fs/gfs2/ops_inode.c
@@ -754,8 +754,7 @@ static int gfs2_rename(struct inode *odir, struct dentry *odentry,
754 754
755 if (S_ISDIR(nip->i_inode.i_mode)) { 755 if (S_ISDIR(nip->i_inode.i_mode)) {
756 if (nip->i_entries < 2) { 756 if (nip->i_entries < 2) {
757 if (gfs2_consist_inode(nip)) 757 gfs2_consist_inode(nip);
758 gfs2_dinode_print(nip);
759 error = -EIO; 758 error = -EIO;
760 goto out_gunlock; 759 goto out_gunlock;
761 } 760 }