[Libsysio-commit] HEAD: libsysio/src ioctx.c
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2003-10-13 01:54:07
|
Update of /cvsroot/libsysio/libsysio/src In directory sc8-pr-cvs1:/tmp/cvs-serv6057 Modified Files: ioctx.c Log Message: Oops. We should not drop the inode reference for fast IO context records. Index: ioctx.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/src/ioctx.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -b -B -p -r1.3 -r1.4 --- ioctx.c 13 Oct 2003 01:04:35 -0000 1.3 +++ ioctx.c 13 Oct 2003 01:53:57 -0000 1.4 @@ -225,8 +225,9 @@ _sysio_ioctx_complete(struct ioctx *ioct free(entry); } - I_RELE(ioctx->ioctx_ino); + if (ioctx->ioctx_fast) + return; - if (!ioctx->ioctx_fast) + I_RELE(ioctx->ioctx_ino); free(ioctx); } |