Update of /cvsroot/libsysio/libsysio/src
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv418
Modified Files:
Tag: RELEASE_1_3
inode.c
Log Message:
Path node reference counts are not being maintained correctly. Unmounts
will abort the application. This change is a workaround to avoid
that. As well, the library should not be built with the shutdown
code.
Index: inode.c
===================================================================
RCS file: /cvsroot/libsysio/libsysio/src/inode.c,v
retrieving revision 1.27
retrieving revision 1.27.2.1
diff -u -w -b -B -p -r1.27 -r1.27.2.1
--- inode.c 1 May 2007 16:33:53 -0000 1.27
+++ inode.c 24 Mar 2009 18:12:19 -0000 1.27.2.1
@@ -744,7 +744,7 @@ _sysio_p_prune(struct pnode *root)
* Ok to prune.
*/
if (pno->p_mount->mnt_root == pno) {
-#ifndef AUTOMOUNT_FILE_NAME
+#if 1
count++;
continue;
#else
@@ -782,7 +782,7 @@ _sysio_p_prune(struct pnode *root)
if (root->p_ref) {
count++;
} else if (root->p_mount->mnt_root == root) {
-#ifndef AUTOMOUNT_FILE_NAME
+#if 1
count++;
#else
/*
|