Skip to content

Commit 96fca81

Browse files
committed
Fix warning messages in remove symbolic
inode_dec_link_count has included drop_nlink/ mark_inode_dirty
1 parent db53e3f commit 96fca81

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
@@ -653,8 +653,6 @@ static int simplefs_unlink(struct inode *dir, struct dentry *dentry)
653653
#endif
654654

655655
inode_dec_link_count(inode);
656-
drop_nlink(inode);
657-
mark_inode_dirty(inode);
658656

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

0 commit comments

Comments
 (0)