diff options
author | kmacy <kmacy@FreeBSD.org> | 2009-05-17 01:31:28 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2009-05-17 01:31:28 +0000 |
commit | 33504763e76102ecd6efe8f618b9cf7d9f535a5a (patch) | |
tree | 484078754f6c4da67df684e1e2c6caa83178a5a4 /sys/cddl | |
parent | 8cfacd71f9083ebfb414b452ea57e6d04240a1cb (diff) | |
download | FreeBSD-src-33504763e76102ecd6efe8f618b9cf7d9f535a5a.zip FreeBSD-src-33504763e76102ecd6efe8f618b9cf7d9f535a5a.tar.gz |
SAVESTART implies SAVENAME
Diffstat (limited to 'sys/cddl')
-rw-r--r-- | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c index 458d5bc..d0ddaaa 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c +++ b/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c @@ -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); |