Skip to content

Commit 3b60737

Browse files
committed
Fix warning messages in remove symbolic
inode_dec_link_count has included drop_nlink/ mark_inode_dirty
1 parent dee5da3 commit 3b60737

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

inode.c

-2
Original file line numberDiff line numberDiff line change
@@ -654,8 +654,6 @@ static int simplefs_unlink(struct inode *dir, struct dentry *dentry)
654654
#endif
655655

656656
inode_dec_link_count(inode);
657-
drop_nlink(inode);
658-
mark_inode_dirty(inode);
659657

660658
/* Free inode and index block from bitmap */
661659
if (S_ISLNK(inode->i_mode))

0 commit comments

Comments
 (0)