Module Name:    src
Committed By:   christos
Date:           Mon Sep 23 20:44:24 UTC 2013

Modified Files:
        src/external/cddl/osnet/sys/sys: vnode.h

Log Message:
don't use IO_APPEND. In the vdev_file.c we end up appending to our virtual
file as a filesystem! With this change:

    $ dd if=/dev/zero of=disk1 count=266144
    $ zpool create crap $PWD/disk1

mounts /crap and it seems to work ok, until I try unmounting


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/cddl/osnet/sys/sys/vnode.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/cddl/osnet/sys/sys/vnode.h
diff -u src/external/cddl/osnet/sys/sys/vnode.h:1.10 src/external/cddl/osnet/sys/sys/vnode.h:1.11
--- src/external/cddl/osnet/sys/sys/vnode.h:1.10	Mon Sep 23 15:44:21 2013
+++ src/external/cddl/osnet/sys/sys/vnode.h	Mon Sep 23 16:44:24 2013
@@ -1,5 +1,5 @@
 
-/*	$NetBSD: vnode.h,v 1.10 2013/09/23 19:44:21 christos Exp $	*/
+/*	$NetBSD: vnode.h,v 1.11 2013/09/23 20:44:24 christos Exp $	*/
 
 /*
  * CDDL HEADER START
@@ -577,7 +577,7 @@ zfs_vn_rdwr(enum uio_rw rw, vnode_t *vp,
 	ASSERT(ioflag == 0);
 	ASSERT(ulimit == RLIM64_INFINITY);
 
-	ioflag = IO_APPEND | IO_UNIT;
+	ioflag = IO_UNIT;
 
 	error = vn_rdwr(rw, vp, base, len, offset, seg, ioflag, cr,
 	    &resid, curlwp);

Reply via email to