[Libsysio-commit] strided-io: libsysio/src ioctx.c
Brought to you by:
lward
|
From: Lee W. <lw...@us...> - 2004-01-27 15:30:11
|
Update of /cvsroot/libsysio/libsysio/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3566 Modified Files: Tag: strided-io ioctx.c Log Message: The IO complete routine would release the inode reference always. This is improper if the context was marked `fast'. Fixed. Index: ioctx.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/src/ioctx.c,v retrieving revision 1.6.6.6 retrieving revision 1.6.6.7 diff -u -w -b -B -p -r1.6.6.6 -r1.6.6.7 --- ioctx.c 26 Jan 2004 07:10:57 -0000 1.6.6.6 +++ ioctx.c 27 Jan 2004 15:29:05 -0000 1.6.6.7 @@ -231,11 +231,12 @@ _sysio_ioctx_complete(struct ioctx *ioct */ LIST_REMOVE(ioctx, ioctx_link); - I_RELE(ioctx->ioctx_ino); if (ioctx->ioctx_fast) return; + I_RELE(ioctx->ioctx_ino); + free(ioctx); } |