Date: Mon, 29 Apr 2002 22:05:06 -0700 (PDT) From: Scott Long <scottl@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/udf udf_vnops.c Message-ID: <200204300505.g3U556W05853@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <tes@boing.melbourne.sgi.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204300505.g3U556W05853>