Received: by mail.netbsd.org (Postfix, from userid 605) id 97CB814A1FA; Mon, 17 Feb 2014 20:16:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id ABC7014A1F9 for ; Mon, 17 Feb 2014 20:16:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id hl0FifW_GlnG for ; Mon, 17 Feb 2014 20:16:52 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 34F0D14A1F0 for ; Mon, 17 Feb 2014 20:16:52 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 2D8E496; Mon, 17 Feb 2014 20:16:52 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 17 Feb 2014 20:16:52 +0000 From: "Maxime Villard" Subject: CVS commit: src/sys/fs/tmpfs To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20140217201652.2D8E496@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Maxime Villard" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: maxv Date: Mon Feb 17 20:16:52 UTC 2014 Modified Files: src/sys/fs/tmpfs: tmpfs_vnops.c Log Message: Adapt my previous patch differently. read(2) wants EISDIR when the object is a directory. Which also means that tmpfs_read() was returning a wrong error code when dealing with non-regular vnodes. To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/sys/fs/tmpfs/tmpfs_vnops.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.