]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rewrite the udf_read() routine to use a file vnode instead of the devvp vnode.
authorpav <pav@FreeBSD.org>
Mon, 15 Jan 2007 18:45:36 +0000 (18:45 +0000)
committerpav <pav@FreeBSD.org>
Mon, 15 Jan 2007 18:45:36 +0000 (18:45 +0000)
commit9ca9d354d98eb12e0acd1619a9545f682a7ec672
treef1e5608b874453d78cb16c3112f5f510ce33d1db
parentfd60f52ecc4bdc82b0bc144dd99dac68dbca2105
Rewrite the udf_read() routine to use a file vnode instead of the devvp vnode.
The code is modelled after cd9660, including support for simple read-ahead
courtesy of clustered read.

Fix udf_strategy to DTRT.

This change fixes sendfile(2) not to send out garbage.

Reviewed by: scottl
MFC after: 1 month
sys/fs/udf/udf_vnops.c