[Libsysio-commit] HEAD: libsysio/drivers/incore fs_incore.c
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2003-10-15 20:09:25
|
Update of /cvsroot/libsysio/libsysio/drivers/incore In directory sc8-pr-cvs1:/tmp/cvs-serv1369 Modified Files: fs_incore.c Log Message: The incore unlink_entry routine has duplicated code (from the recent merge?) which caused it to lower the link count twice -- From Ruth. Fixed. Index: fs_incore.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/drivers/incore/fs_incore.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -w -b -B -p -r1.9 -r1.10 --- fs_incore.c 15 Oct 2003 18:00:54 -0000 1.9 +++ fs_incore.c 15 Oct 2003 20:08:52 -0000 1.10 @@ -1233,12 +1233,6 @@ incore_unlink_entry(struct incore_inode assert(icino->ici_st.st_nlink > 2); icino->ici_st.st_nlink--; - /* - * Adjust link count. - */ - assert(icino->ici_st.st_nlink > 2); - icino->ici_st.st_nlink--; - return 0; } |