diff --git a/[refs] b/[refs] index 6af1cf3c840b..76b296d8357b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 87cfa004321c62aec681713ea48e0b846336d9f4 +refs/heads/master: b99835c1684918b9975851d71455c5c007d1715b diff --git a/trunk/fs/ocfs2/namei.c b/trunk/fs/ocfs2/namei.c index f594f300d4cd..f4967e634ffd 100644 --- a/trunk/fs/ocfs2/namei.c +++ b/trunk/fs/ocfs2/namei.c @@ -491,8 +491,10 @@ static int ocfs2_mknod_locked(struct ocfs2_super *osb, brelse(*new_fe_bh); *new_fe_bh = NULL; } - if (inode) + if (inode) { + clear_nlink(inode); iput(inode); + } } mlog_exit(status);