[Libsysio-commit] HEAD: libsysio/include inode.h
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2009-08-04 14:19:10
|
Update of /cvsroot/libsysio/libsysio/include In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18445/include Modified Files: inode.h Log Message: The namei family now takes the ND_WANTPARENT flag as well. This new flag causes a lock to be taken on the parent of the returned pnode when the return indicates success. Updated copyright date and contact. Index: inode.h =================================================================== RCS file: /cvsroot/libsysio/libsysio/include/inode.h,v retrieving revision 1.57 retrieving revision 1.58 diff -u -w -b -B -p -r1.57 -r1.58 --- inode.h 4 Aug 2009 05:46:24 -0000 1.57 +++ inode.h 4 Aug 2009 14:19:01 -0000 1.58 @@ -703,6 +703,7 @@ struct nameidata { #define ND_NEGOK 0x02 /* last missing is ok */ #define ND_NOPERMCHECK 0x04 /* don't check perms */ #define ND_NXMNT 0x08 /* don't cross mounts */ +#define ND_WANTPARENT 0x0a /* want parent too */ #ifdef AUTOMOUNT_FILE_NAME #define _ND_INIT_AUTOMOUNT(nd) ((nd)->nd_amcnt = 0) |