diff --git a/inode.c b/inode.c index 5197753..616caa0 100644 --- a/inode.c +++ b/inode.c @@ -653,8 +653,6 @@ static int simplefs_unlink(struct inode *dir, struct dentry *dentry) #endif inode_dec_link_count(inode); - drop_nlink(inode); - mark_inode_dirty(inode); /* Free inode and index block from bitmap */ if (S_ISLNK(inode->i_mode))