Update of /cvsroot/libsysio/libsysio
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv6564
Modified Files:
Tag: unification
configure.in
Log Message:
The open file table now maintains a link to the path-node, or `pnode', instead
of the inode. This is done in order to enable support for per-mount options.
The issue is that bound-mounts could not have independent options. We had lost
the linkage between the mount that a particular alias came from and, so,
could not act on per-mount flags.
As part of this, all calls through the VFS have been wrapped by macros. They
all begin with PNOP_. For instance, the inop_mkdir call is wrapped with
PNOP_MKDIR now.
These modifications, while intrusive, require no changes to the existing
drivers. However, there are many calls that take both a path-node and an
inode, and at some time in the future, the path-node, only, will be passed.
You might be pro-active in altering the various entry-points so that the
inode is ignored -- It's always available now. Of course, that can't be
done for the IO routines, which take only an inode. Note, though, that the
ioctx structure now carries the path-node, in addition. Perhaps use that? In
short, I'm going to deprecate the passing of inodes through the VFS in favor
of the path-node at some point.
Index: configure.in
===================================================================
RCS file: /cvsroot/libsysio/libsysio/configure.in,v
retrieving revision 1.25
retrieving revision 1.25.2.1
diff -u -w -b -B -p -r1.25 -r1.25.2.1
--- configure.in 19 Dec 2006 21:22:33 -0000 1.25
+++ configure.in 5 Feb 2007 15:54:27 -0000 1.25.2.1
@@ -161,7 +161,7 @@ AC_ARG_WITH(sockets,
AC_HELP_STRING([--with-sockets],
[build sockets interface driver (EXPERIMENTAL)]),
[ case "${withval}" in
- yes) ;;
+ yes) AC_MSG_ERROR(the sockets driver is broken right now);;
no) ;;
*) AC_MSG_ERROR(bad value ${withval} for --with-sockets) ;;
esac],
|