Date: Sun, 17 May 2009 23:14:26 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r192268 - user/kmacy/ZFS_MFC/sys/sys Message-ID: <200905172314.n4HNEQ7o042420@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905172314.n4HNEQ7o042420>