svn commit: r192268 - user/kmacy/ZFS_MFC/sys/sys

Kip Macy kmacy at FreeBSD.org
Sun May 17 23:14:27 UTC 2009


Author: kmacy
Date: Sun May 17 23:14:26 2009
New Revision: 192268
URL: http://svn.freebsd.org/changeset/base/192268

Log:
  nothing references ni_dirfd remove to avoid breaking the ABI

Modified:
  user/kmacy/ZFS_MFC/sys/sys/namei.h

Modified: user/kmacy/ZFS_MFC/sys/sys/namei.h
==============================================================================
--- user/kmacy/ZFS_MFC/sys/sys/namei.h	Sun May 17 22:46:23 2009	(r192267)
+++ user/kmacy/ZFS_MFC/sys/sys/namei.h	Sun May 17 23:14:26 2009	(r192268)
@@ -69,7 +69,7 @@ struct nameidata {
 	struct	vnode *ni_startdir;	/* starting directory */
 	struct	vnode *ni_rootdir;	/* logical root directory */
 	struct	vnode *ni_topdir;	/* logical top directory */
-	int	ni_dirfd;		/* starting directory for *at functions */	/*
+
 	 * Results: returned from/manipulated by lookup
 	 */
 	struct	vnode *ni_vp;		/* vnode of result */
@@ -86,6 +86,9 @@ struct nameidata {
 	 * through the VOP interface.
 	 */
 	struct componentname ni_cnd;
+#ifdef notyet
+	int	ni_dirfd;		/* starting directory for *at functions */	/*
+#endif									 };
 };
 
 #ifdef _KERNEL
@@ -168,9 +171,11 @@ NDINIT_ALL(struct nameidata *ndp,
 	ndp->ni_cnd.cn_flags = flags;
 	ndp->ni_segflg = segflg;
 	ndp->ni_dirp = namep;
-	ndp->ni_dirfd = dirfd;
 	ndp->ni_startdir = startdir;
 	ndp->ni_cnd.cn_thread = td;
+#ifdef notyet
+	ndp->ni_dirfd = dirfd;
+#endif
 }
 
 #define NDF_NO_DVP_RELE		0x00000001


More information about the svn-src-user mailing list