[Libsysio-commit] HEAD: libsysio/src ioctx.c
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2003-10-13 02:43:23
|
Update of /cvsroot/libsysio/libsysio/src In directory sc8-pr-cvs1:/tmp/cvs-serv11818/src Modified Files: ioctx.c Log Message: Another oops from the addition of the callback chains... Must not remove the io context record from the global chain if it's marked `fast'. This because it was never put on the list in the first place :-( Index: ioctx.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/src/ioctx.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -w -b -B -p -r1.4 -r1.5 --- ioctx.c 13 Oct 2003 01:53:57 -0000 1.4 +++ ioctx.c 13 Oct 2003 02:43:17 -0000 1.5 @@ -202,11 +202,6 @@ _sysio_ioctx_complete(struct ioctx *ioct #endif struct ioctx_callback *entry; - /* - * Unlink from the file record's outstanding request queue. - */ - LIST_REMOVE(ioctx, ioctx_link); - #if 0 /* * Wait for IO to complete and remember completion values. @@ -227,6 +222,11 @@ _sysio_ioctx_complete(struct ioctx *ioct if (ioctx->ioctx_fast) return; + + /* + * Unlink from the file record's outstanding request queue. + */ + LIST_REMOVE(ioctx, ioctx_link); I_RELE(ioctx->ioctx_ino); free(ioctx); |