diff options
Diffstat (limited to 'fs/ocfs2/namei.c')
-rw-r--r-- | fs/ocfs2/namei.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ocfs2/namei.c b/fs/ocfs2/namei.c index 53aa41e..0181f63 100644 --- a/fs/ocfs2/namei.c +++ b/fs/ocfs2/namei.c @@ -200,8 +200,6 @@ static struct inode *ocfs2_get_init_inode(struct inode *dir, int mode) * callers. */ if (S_ISDIR(mode)) inode->i_nlink = 2; - else - inode->i_nlink = 1; inode_init_owner(inode, dir, mode); dquot_initialize(inode); return inode; |