Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2008 12:32:42 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185430 - head/sys/cddl/compat/opensolaris/sys
Message-ID:  <200811291232.mATCWgY3051067@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pjd
Date: Sat Nov 29 12:32:42 2008
New Revision: 185430
URL: http://svn.freebsd.org/changeset/base/185430

Log:
  MFp4: Remove assertion that is no longer valid - we now use VOP_CLOSE() in
  more places (ie vdev_file.c).

Modified:
  head/sys/cddl/compat/opensolaris/sys/vnode.h

Modified: head/sys/cddl/compat/opensolaris/sys/vnode.h
==============================================================================
--- head/sys/cddl/compat/opensolaris/sys/vnode.h	Sat Nov 29 12:08:41 2008	(r185429)
+++ head/sys/cddl/compat/opensolaris/sys/vnode.h	Sat Nov 29 12:32:42 2008	(r185430)
@@ -257,7 +257,6 @@ zfs_vop_close(vnode_t *vp, int flag, int
 {
 	int error, vfslocked;
 
-	ASSERT(flag == (FWRITE | FCREAT | FTRUNC | FOFFMAX));
 	ASSERT(count == 1);
 	ASSERT(offset == 0);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811291232.mATCWgY3051067>