Date: Mon, 14 Sep 2009 09:18:06 +0300 From: Daniel Braniss <danny@cs.huji.ac.il> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/138803: zfs(v13)+nfs and open(..., O_WRONLY|O_CREAT|O_EXCL, ...) returns io error Message-ID: <E1Mn4t4-0000p8-NE@pundit-2.cs.huji.ac.il> Resent-Message-ID: <200909140620.n8E6K2gB047729@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 138803 >Category: kern >Synopsis: zfs(v13)+nfs and open(..., O_WRONLY|O_CREAT|O_EXCL, ...) returns io error >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 14 06:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Daniel Braniss >Release: FreeBSD 8.0-BETA4 i386 >Organization: >Environment: System: FreeBSD pundit-2 8.0-BETA4 FreeBSD 8.0-BETA4 #1: Sun Sep 13 16:46:28 IDT 2009 danny@sunfire:/r+d/obj/sunfire/i386/r+d/stable/8/sys/HUJI i386 >Description: see http://www.freebsd.org/cgi/query-pr.cgi?pr=135412 this time the client is i386/32, when client is amd64 all is ok. >How-To-Repeat: #include <stdio.h> #include <fcntl.h> #include <stdlib.h> #include <string.h> #include <errno.h> main(int cc, char **vv) { int fd; char *fn; if(cc > 1) fn = vv[1]; else fn = "lock"; fd = open(fn, O_WRONLY|O_CREAT|O_EXCL, 0666); if(fd < 0) { int err = errno; fprintf(stderr, "%d - %s\n", err, strerror(err)); } exit(0); } >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Mn4t4-0000p8-NE>