diff --git a/inode.c b/inode.c index 4d9af5e..1d7c99d 100644 --- a/inode.c +++ b/inode.c @@ -654,8 +654,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))