From owner-cvs-src-old@FreeBSD.ORG Thu Feb 19 15:05:42 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAF671065740 for ; Thu, 19 Feb 2009 15:05:42 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id C75E68FC27 for ; Thu, 19 Feb 2009 15:05:42 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n1JF5gDm070687 for ; Thu, 19 Feb 2009 15:05:42 GMT (envelope-from avg@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n1JF5gkC070686 for cvs-src-old@freebsd.org; Thu, 19 Feb 2009 15:05:42 GMT (envelope-from avg@repoman.freebsd.org) Message-Id: <200902191505.n1JF5gkC070686@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to avg@repoman.freebsd.org using -f From: Andriy Gapon Date: Thu, 19 Feb 2009 15:05:30 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/udf udf_vnops.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2009 15:05:44 -0000 avg 2009-02-19 15:05:30 UTC FreeBSD src repository Modified files: sys/fs/udf udf_vnops.c Log: SVN rev 188815 on 2009-02-19 15:05:30Z by avg fs/udf: fix incorrect error return (-1) when reading a large dir Not enough space in user-land buffer is not an error, userland will read further until eof is reached. So instead of propagating -1 to caller we convert it to zero/success. cd9660 code works exactly the same way. PR: kern/78987 Reviewed by: jhb (mentor) Approved by: jhb (mentor) Revision Changes Path 1.77 +3 -4 src/sys/fs/udf/udf_vnops.c