aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/gfs2/inode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index 660dc81849a6..81a921165941 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2/inode.c
@@ -353,6 +353,7 @@ int gfs2_change_nlink(struct gfs2_inode *ip, int diff)
353 if (error) 353 if (error)
354 goto out_norgrp; 354 goto out_norgrp;
355 355
356 clear_nlink(&ip->i_inode);
356 gfs2_unlink_di(&ip->i_inode); /* mark inode unlinked */ 357 gfs2_unlink_di(&ip->i_inode); /* mark inode unlinked */
357 gfs2_glock_dq_uninit(&rg_gh); 358 gfs2_glock_dq_uninit(&rg_gh);
358out_norgrp: 359out_norgrp: