View | Details | Raw Unified | Return to bug 213112 | Differences between
and this patch

Collapse All | Expand All

(-)sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c (-1 / +2 lines)
Lines 1454-1460 Link Here
1454
1454
1455
	ASSERT_VOP_LOCKED(dvp, __func__);
1455
	ASSERT_VOP_LOCKED(dvp, __func__);
1456
#ifdef DIAGNOSTIC
1456
#ifdef DIAGNOSTIC
1457
	ASSERT(!RRM_LOCK_HELD(&zfsvfs->z_teardown_lock));
1457
	if (!(zdp->z_pflags & ZFS_XATTR))
1458
		ASSERT(!RRM_LOCK_HELD(&zfsvfs->z_teardown_lock));
1458
#endif
1459
#endif
1459
1460
1460
	if (name[0] == 0 || (name[0] == '.' && name[1] == 0)) {
1461
	if (name[0] == 0 || (name[0] == '.' && name[1] == 0)) {

Return to bug 213112