Date: Sun, 17 May 2009 01:31:28 +0000 (UTC) From: Kip Macy <kmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r192237 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs Message-ID: <200905170131.n4H1VSQf009970@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kmacy Date: Sun May 17 01:31:28 2009 New Revision: 192237 URL: http://svn.freebsd.org/changeset/base/192237 Log: SAVESTART implies SAVENAME Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c ============================================================================== --- head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Sun May 17 00:01:57 2009 (r192236) +++ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Sun May 17 01:31:28 2009 (r192237) @@ -4253,8 +4253,8 @@ zfs_freebsd_rename(ap) vnode_t *tvp = ap->a_tvp; int error; - ASSERT(ap->a_fcnp->cn_flags & SAVENAME); - ASSERT(ap->a_tcnp->cn_flags & SAVENAME); + ASSERT(ap->a_fcnp->cn_flags & (SAVENAME|SAVESTART)); + ASSERT(ap->a_tcnp->cn_flags & (SAVENAME|SAVESTART)); error = zfs_rename(fdvp, ap->a_fcnp->cn_nameptr, tdvp, ap->a_tcnp->cn_nameptr, ap->a_fcnp->cn_cred, NULL, 0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905170131.n4H1VSQf009970>