1/*- 2 * Copyright (c) 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley 6 * by Pace Willisson (pace@blitz.com). The Rock Ridge Extension 7 * Support code is derived from software contributed to Berkeley 8 * by Atsushi Murai (amurai@spec.co.jp). --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)cd9660_vnops.c 8.19 (Berkeley) 5/27/95 |
39 * $Id: cd9660_vnops.c,v 1.52 1998/03/06 09:46:14 msmith Exp $ |
40 */ 41 42#include <sys/param.h> 43#include <sys/systm.h> 44#include <sys/namei.h> 45#include <sys/kernel.h> 46#include <sys/stat.h> 47#include <sys/buf.h> --- 674 unchanged lines hidden (view full) --- 722 723/* 724 * Calculate the logical to physical mapping if not done already, 725 * then call the device strategy routine. 726 */ 727static int 728cd9660_strategy(ap) 729 struct vop_strategy_args /* { |
730 struct buf *a_vp; |
731 struct buf *a_bp; 732 } */ *ap; 733{ 734 register struct buf *bp = ap->a_bp; 735 register struct vnode *vp = bp->b_vp; 736 register struct iso_node *ip; 737 int error; 738 --- 12 unchanged lines hidden (view full) --- 751 clrbuf(bp); 752 } 753 if ((long)bp->b_blkno == -1) { 754 biodone(bp); 755 return (0); 756 } 757 vp = ip->i_devvp; 758 bp->b_dev = vp->v_rdev; |
759 VOP_STRATEGY(vp, bp); |
760 return (0); 761} 762 763/* 764 * Print out the contents of an inode. 765 */ 766static int 767cd9660_print(ap) --- 148 unchanged lines hidden --- |