From owner-cvs-all Mon Apr 29 22: 5: 9 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4666237B419; Mon, 29 Apr 2002 22:05:06 -0700 (PDT) Received: (from scottl@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3U556W05853; Mon, 29 Apr 2002 22:05:06 -0700 (PDT) (envelope-from scottl) Message-Id: <200204300505.g3U556W05853@freefall.freebsd.org> From: Scott Long Date: Mon, 29 Apr 2002 22:05:06 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/udf udf_vnops.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG scottl 2002/04/29 22:05:06 PDT Modified files: sys/fs/udf udf_vnops.c Log: Fix udf_read(). Honor the uio_resid when determining the size of the block to read and copy out. This removes the hack in udf_readatoffset() for only reading one block at a time. WooHoo! Remove a redundant test for fragmented fids in both udf_readdir() and udf_lookup(). Add comment to both as to why the test is written the way it is. Add a few more safety checks for brelse(). Thanks to Timothy Shimmin for pointing out these problems. Revision Changes Path 1.3 +22 -16 src/sys/fs/udf/udf_vnops.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message