diff --git a/fs/logfs/inode.c b/fs/logfs/inode.c index edfea7a3a747fa2c984a5817d82909fdccc7d0ea..9abb048b96c0a20a5b2a6a2fe7b42cb535482fad 100644 --- a/fs/logfs/inode.c +++ b/fs/logfs/inode.c @@ -199,7 +199,6 @@ static void logfs_init_inode(struct super_block *sb, struct inode *inode) inode->i_blocks = 0; inode->i_ctime = CURRENT_TIME; inode->i_mtime = CURRENT_TIME; - inode->i_nlink = 1; li->li_refcount = 1; INIT_LIST_HEAD(&li->li_freeing_list);