3 * The Regents of the University of California. All rights reserved.
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).
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
17 * documentation and/or other materials provided with the distribution.
18 * 3. All advertising materials mentioning features or use of this software
19 * must display the following acknowledgement:
20 * This product includes software developed by the University of
21 * California, Berkeley and its contributors.
22 * 4. Neither the name of the University nor the names of its contributors
23 * may be used to endorse or promote products derived from this software
24 * without specific prior written permission.
26 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
27 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
30 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
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
38 * @(#)cd9660_vnops.c 8.19 (Berkeley) 5/27/95
39 * $FreeBSD: src/sys/isofs/cd9660/cd9660_vnops.c,v 1.62 1999/12/15 23:01:51 eivind Exp $
40 * $DragonFly: src/sys/vfs/isofs/cd9660/cd9660_vnops.c,v 1.8 2004/04/12 23:18:55 cpressey Exp $
43 #include <sys/param.h>
44 #include <sys/systm.h>
46 #include <sys/namei.h>
47 #include <sys/kernel.h>
50 #include <sys/mount.h>
51 #include <sys/vnode.h>
52 #include <vfs/fifofs/fifo.h>
53 #include <sys/malloc.h>
54 #include <sys/dirent.h>
55 #include <sys/unistd.h>
56 #include <sys/filio.h>
59 #include <vm/vm_zone.h>
60 #include <vm/vnode_pager.h>
63 #include "cd9660_node.h"
66 static int cd9660_setattr (struct vop_setattr_args *);
67 static int cd9660_access (struct vop_access_args *);
68 static int cd9660_getattr (struct vop_getattr_args *);
69 static int cd9660_ioctl (struct vop_ioctl_args *);
70 static int cd9660_pathconf (struct vop_pathconf_args *);
71 static int cd9660_read (struct vop_read_args *);
73 static int iso_uiodir (struct isoreaddir *idp, struct dirent *dp,
75 static int iso_shipdir (struct isoreaddir *idp);
76 static int cd9660_readdir (struct vop_readdir_args *);
77 static int cd9660_readlink (struct vop_readlink_args *ap);
78 static int cd9660_strategy (struct vop_strategy_args *);
79 static int cd9660_print (struct vop_print_args *);
80 static int cd9660_getpages (struct vop_getpages_args *);
81 static int cd9660_putpages (struct vop_putpages_args *);
84 * Setattr call. Only allowed for block and character special devices.
86 * cd9660_setattr(struct vnodeop_desc *a_desc, struct vnode *a_vp,
87 * struct vattr *a_vap, struct ucred *a_cred, struct proc *a_p)
90 cd9660_setattr(struct vop_setattr_args *ap)
92 struct vnode *vp = ap->a_vp;
93 struct vattr *vap = ap->a_vap;
95 if (vap->va_flags != (u_long)VNOVAL || vap->va_uid != (uid_t)VNOVAL ||
96 vap->va_gid != (gid_t)VNOVAL || vap->va_atime.tv_sec != VNOVAL ||
97 vap->va_mtime.tv_sec != VNOVAL || vap->va_mode != (mode_t)VNOVAL)
99 if (vap->va_size != (u_quad_t)VNOVAL) {
100 switch (vp->v_type) {
119 * Check mode permission on inode pointer. Mode is READ, WRITE or EXEC.
120 * The mode is shifted to select the owner/group/other fields. The
121 * super user is granted all permissions.
123 * cd9660_access(struct vnode *a_vp, int a_mode, struct ucred *a_cred,
128 cd9660_access(struct vop_access_args *ap)
130 struct vnode *vp = ap->a_vp;
131 struct iso_node *ip = VTOI(vp);
132 struct ucred *cred = ap->a_cred;
133 mode_t mask, mode = ap->a_mode;
138 * Disallow write attempts unless the file is a socket,
139 * fifo, or a block or character device resident on the
143 switch (vp->v_type) {
154 /* User id 0 always gets access. */
155 if (cred->cr_uid == 0)
160 /* Otherwise, check the owner. */
161 if (cred->cr_uid == ip->inode.iso_uid) {
168 return ((ip->inode.iso_mode & mask) == mask ? 0 : EACCES);
171 /* Otherwise, check the groups. */
172 for (i = 0, gp = cred->cr_groups; i < cred->cr_ngroups; i++, gp++)
173 if (ip->inode.iso_gid == *gp) {
180 return ((ip->inode.iso_mode & mask) == mask ?
184 /* Otherwise, check everyone else. */
191 return ((ip->inode.iso_mode & mask) == mask ? 0 : EACCES);
195 * cd9660_getattr(struct vnode *a_vp, struct vattr *a_vap, struct thread *a_td)
198 cd9660_getattr(struct vop_getattr_args *ap)
200 struct vnode *vp = ap->a_vp;
201 struct vattr *vap = ap->a_vap;
202 struct iso_node *ip = VTOI(vp);
204 vap->va_fsid = dev2udev(ip->i_dev);
205 vap->va_fileid = ip->i_number;
207 vap->va_mode = ip->inode.iso_mode;
208 vap->va_nlink = ip->inode.iso_links;
209 vap->va_uid = ip->inode.iso_uid;
210 vap->va_gid = ip->inode.iso_gid;
211 vap->va_atime = ip->inode.iso_atime;
212 vap->va_mtime = ip->inode.iso_mtime;
213 vap->va_ctime = ip->inode.iso_ctime;
214 vap->va_rdev = ip->inode.iso_rdev;
216 vap->va_size = (u_quad_t) ip->i_size;
217 if (ip->i_size == 0 && (vap->va_mode & S_IFMT) == S_IFLNK) {
218 struct vop_readlink_args rdlnk;
223 MALLOC(cp, char *, MAXPATHLEN, M_TEMP, M_WAITOK);
225 aiov.iov_len = MAXPATHLEN;
226 auio.uio_iov = &aiov;
229 auio.uio_rw = UIO_READ;
230 auio.uio_segflg = UIO_SYSSPACE;
231 auio.uio_td = ap->a_td;
232 auio.uio_resid = MAXPATHLEN;
234 rdlnk.a_vp = ap->a_vp;
235 rdlnk.a_cred = proc0.p_ucred; /* use root cred */
236 if (cd9660_readlink(&rdlnk) == 0)
237 vap->va_size = MAXPATHLEN - auio.uio_resid;
242 vap->va_blocksize = ip->i_mnt->logical_block_size;
243 vap->va_bytes = (u_quad_t) ip->i_size;
244 vap->va_type = vp->v_type;
250 * Vnode op for ioctl.
252 * cd9660_ioctl(struct vnode *a_vp, int a_command, caddr_t a_data,
253 * int a_fflag, struct ucred *a_cred, struct proc *a_p)
256 cd9660_ioctl(struct vop_ioctl_args *ap)
258 struct vnode *vp = ap->a_vp;
259 struct iso_node *ip = VTOI(vp);
261 switch (ap->a_command) {
264 *(int *)(ap->a_data) = ip->iso_start;
272 * Vnode op for reading.
274 * cd9660_read(struct vnode *a_vp, struct uio *a_uio, int a_ioflag,
275 * struct ucred *a_cred)
278 cd9660_read(struct vop_read_args *ap)
280 struct vnode *vp = ap->a_vp;
281 struct uio *uio = ap->a_uio;
282 struct iso_node *ip = VTOI(vp);
285 daddr_t lbn, rablock;
287 int rasize, error = 0;
291 seqcount = ap->a_ioflag >> 16;
293 if (uio->uio_resid == 0)
295 if (uio->uio_offset < 0)
297 ip->i_flag |= IN_ACCESS;
300 lbn = lblkno(imp, uio->uio_offset);
301 on = blkoff(imp, uio->uio_offset);
302 n = min((u_int)(imp->logical_block_size - on),
304 diff = (off_t)ip->i_size - uio->uio_offset;
309 size = blksize(imp, ip, lbn);
311 if ((vp->v_mount->mnt_flag & MNT_NOCLUSTERR) == 0) {
312 if (lblktosize(imp, rablock) < ip->i_size)
313 error = cluster_read(vp, (off_t)ip->i_size,
314 lbn, size, uio->uio_resid,
315 (ap->a_ioflag >> 16), &bp);
317 error = bread(vp, lbn, size, &bp);
320 lblktosize(imp, rablock) < ip->i_size) {
321 rasize = blksize(imp, ip, rablock);
322 error = breadn(vp, lbn, size, &rablock,
325 error = bread(vp, lbn, size, &bp);
327 n = min(n, size - bp->b_resid);
333 error = uiomove(bp->b_data + on, (int)n, uio);
335 } while (error == 0 && uio->uio_resid > 0 && n != 0);
340 * Structure for reading directories
343 struct dirent saveent;
344 struct dirent assocent;
345 struct dirent current;
357 iso_uiodir(struct isoreaddir *idp, struct dirent *dp, off_t off)
361 dp->d_name[dp->d_namlen] = 0;
362 dp->d_reclen = GENERIC_DIRSIZ(dp);
364 if (idp->uio->uio_resid < dp->d_reclen) {
370 if (idp->ncookies <= 0) {
375 *idp->cookies++ = off;
379 if ((error = uiomove((caddr_t) dp,dp->d_reclen,idp->uio)) != 0)
386 iso_shipdir(struct isoreaddir *idp)
393 cl = idp->current.d_namlen;
394 cname = idp->current.d_name;
395 assoc = (cl > 1) && (*cname == ASSOCCHAR);
403 if (!(sl = dp->d_namlen)) {
405 sname = dp->d_name + 1;
406 sl = dp->d_namlen - 1;
410 || bcmp(sname,cname,sl)) {
411 if (idp->assocent.d_namlen) {
412 if ((error = iso_uiodir(idp,&idp->assocent,idp->assocoff)) != 0)
414 idp->assocent.d_namlen = 0;
416 if (idp->saveent.d_namlen) {
417 if ((error = iso_uiodir(idp,&idp->saveent,idp->saveoff)) != 0)
419 idp->saveent.d_namlen = 0;
423 idp->current.d_reclen = GENERIC_DIRSIZ(&idp->current);
425 idp->assocoff = idp->curroff;
426 bcopy(&idp->current,&idp->assocent,idp->current.d_reclen);
428 idp->saveoff = idp->curroff;
429 bcopy(&idp->current,&idp->saveent,idp->current.d_reclen);
435 * Vnode op for readdir
437 * cd9660_readdir(struct vnode *a_vp, struct uio *a_uio, struct ucred *a_cred,
438 * int *a_eofflag, int *a_ncookies, u_long *a_cookies)
441 cd9660_readdir(struct vop_readdir_args *ap)
443 struct uio *uio = ap->a_uio;
444 struct isoreaddir *idp;
445 struct vnode *vdp = ap->a_vp;
448 struct buf *bp = NULL;
449 struct iso_directory_record *ep;
450 int entryoffsetinblock;
457 u_long *cookies = NULL;
461 bmask = imp->im_bmask;
463 MALLOC(idp, struct isoreaddir *, sizeof(*idp), M_TEMP, M_WAITOK);
464 idp->saveent.d_namlen = idp->assocent.d_namlen = 0;
467 * Is it worth trying to figure out the type?
469 idp->saveent.d_type = idp->assocent.d_type = idp->current.d_type =
472 if (ap->a_ncookies == NULL) {
476 * Guess the number of cookies needed.
478 ncookies = uio->uio_resid / 16;
479 MALLOC(cookies, u_long *, ncookies * sizeof(u_int), M_TEMP,
481 idp->cookies = cookies;
482 idp->ncookies = ncookies;
485 idp->curroff = uio->uio_offset;
487 if ((entryoffsetinblock = idp->curroff & bmask) &&
488 (error = cd9660_blkatoff(vdp, (off_t)idp->curroff, NULL, &bp))) {
492 endsearch = dp->i_size;
494 while (idp->curroff < endsearch) {
496 * If offset is on a block boundary,
497 * read the next directory block.
498 * Release previous if it exists.
500 if ((idp->curroff & bmask) == 0) {
504 cd9660_blkatoff(vdp, (off_t)idp->curroff, NULL, &bp)) != 0)
506 entryoffsetinblock = 0;
509 * Get pointer to next entry.
511 ep = (struct iso_directory_record *)
512 ((char *)bp->b_data + entryoffsetinblock);
514 reclen = isonum_711(ep->length);
516 /* skip to next block, if any */
518 (idp->curroff & ~bmask) + imp->logical_block_size;
522 if (reclen < ISO_DIRECTORY_RECORD_SIZE) {
524 /* illegal entry, stop */
528 if (entryoffsetinblock + reclen > imp->logical_block_size) {
530 /* illegal directory, so stop looking */
534 idp->current.d_namlen = isonum_711(ep->name_len);
536 if (reclen < ISO_DIRECTORY_RECORD_SIZE + idp->current.d_namlen) {
538 /* illegal entry, stop */
542 if (isonum_711(ep->flags)&2)
543 idp->current.d_fileno = isodirino(ep, imp);
545 idp->current.d_fileno = dbtob(bp->b_blkno) +
548 idp->curroff += reclen;
550 switch (imp->iso_ftype) {
552 cd9660_rrip_getname(ep,idp->current.d_name, &namelen,
553 &idp->current.d_fileno,imp);
554 idp->current.d_namlen = (u_char)namelen;
555 if (idp->current.d_namlen)
556 error = iso_uiodir(idp,&idp->current,idp->curroff);
558 default: /* ISO_FTYPE_DEFAULT || ISO_FTYPE_9660 || ISO_FTYPE_HIGH_SIERRA*/
559 strcpy(idp->current.d_name,"..");
560 if (idp->current.d_namlen == 1 && ep->name[0] == 0) {
561 idp->current.d_namlen = 1;
562 error = iso_uiodir(idp,&idp->current,idp->curroff);
563 } else if (idp->current.d_namlen == 1 && ep->name[0] == 1) {
564 idp->current.d_namlen = 2;
565 error = iso_uiodir(idp,&idp->current,idp->curroff);
567 isofntrans(ep->name,idp->current.d_namlen,
568 idp->current.d_name, &namelen,
569 imp->iso_ftype == ISO_FTYPE_9660,
570 isonum_711(ep->flags)&4,
572 idp->current.d_namlen = (u_char)namelen;
573 if (imp->iso_ftype == ISO_FTYPE_DEFAULT)
574 error = iso_shipdir(idp);
576 error = iso_uiodir(idp,&idp->current,idp->curroff);
582 entryoffsetinblock += reclen;
585 if (!error && imp->iso_ftype == ISO_FTYPE_DEFAULT) {
586 idp->current.d_namlen = 0;
587 error = iso_shipdir(idp);
592 if (ap->a_ncookies != NULL) {
594 free(cookies, M_TEMP);
597 * Work out the number of cookies actually used.
599 *ap->a_ncookies = ncookies - idp->ncookies;
600 *ap->a_cookies = cookies;
607 uio->uio_offset = idp->uio_off;
608 *ap->a_eofflag = idp->eofflag;
616 * Return target name of a symbolic link
617 * Shouldn't we get the parent vnode and read the data from there?
618 * This could eventually result in deadlocks in cd9660_lookup.
619 * But otherwise the block read here is in the block buffer two times.
621 typedef struct iso_directory_record ISODIR;
622 typedef struct iso_node ISONODE;
623 typedef struct iso_mnt ISOMNT;
625 * cd9660_readlink(struct vnode *a_vp, struct uio *a_uio, struct ucred *a_cred)
628 cd9660_readlink(struct vop_readlink_args *ap)
643 if (imp->iso_ftype != ISO_FTYPE_RRIP)
647 * Get parents directory record block that this inode included.
649 error = bread(imp->im_devvp,
650 (ip->i_number >> imp->im_bshift) <<
651 (imp->im_bshift - DEV_BSHIFT),
652 imp->logical_block_size, &bp);
659 * Setup the directory pointer for this inode
661 dirp = (ISODIR *)(bp->b_data + (ip->i_number & imp->im_bmask));
664 * Just make sure, we have a right one....
665 * 1: Check not cross boundary on block
667 if ((ip->i_number & imp->im_bmask) + isonum_711(dirp->length)
668 > (unsigned)imp->logical_block_size) {
675 * Abuse a namei buffer for now.
677 if (uio->uio_segflg == UIO_SYSSPACE)
678 symname = uio->uio_iov->iov_base;
680 symname = zalloc(namei_zone);
683 * Ok, we just gathering a symbolic name in SL record.
685 if (cd9660_rrip_getsymname(dirp, symname, &symlen, imp) == 0) {
686 if (uio->uio_segflg != UIO_SYSSPACE)
687 zfree(namei_zone, symname);
692 * Don't forget before you leave from home ;-)
697 * return with the symbolic name to caller's.
699 if (uio->uio_segflg != UIO_SYSSPACE) {
700 error = uiomove(symname, symlen, uio);
701 zfree(namei_zone, symname);
704 uio->uio_resid -= symlen;
705 uio->uio_iov->iov_base += symlen;
706 uio->uio_iov->iov_len -= symlen;
711 * Calculate the logical to physical mapping if not done already,
712 * then call the device strategy routine.
714 * cd9660_strategy(struct buf *a_vp, struct buf *a_bp)
717 cd9660_strategy(struct vop_strategy_args *ap)
719 struct buf *bp = ap->a_bp;
720 struct vnode *vp = bp->b_vp;
725 if (vp->v_type == VBLK || vp->v_type == VCHR)
726 panic("cd9660_strategy: spec");
727 if (bp->b_blkno == bp->b_lblkno) {
729 VOP_BMAP(vp, bp->b_lblkno, NULL, &bp->b_blkno, NULL, NULL))) {
731 bp->b_flags |= B_ERROR;
735 if ((long)bp->b_blkno == -1)
738 if ((long)bp->b_blkno == -1) {
743 bp->b_dev = vp->v_rdev;
744 VOP_STRATEGY(vp, bp);
749 * Print out the contents of an inode.
751 * cd9660_print(struct vnode *a_vp)
754 cd9660_print(struct vop_print_args *ap)
756 printf("tag VT_ISOFS, isofs vnode\n");
761 * Return POSIX pathconf information applicable to cd9660 filesystems.
763 * cd9660_pathconf(struct vnode *a_vp, int a_name, register_t *a_retval)
766 cd9660_pathconf(struct vop_pathconf_args *ap)
768 switch (ap->a_name) {
773 if (VTOI(ap->a_vp)->i_mnt->iso_ftype == ISO_FTYPE_RRIP)
774 *ap->a_retval = NAME_MAX;
779 *ap->a_retval = PATH_MAX;
782 *ap->a_retval = PIPE_BUF;
784 case _PC_CHOWN_RESTRICTED:
799 * XXX By default, wimp out... note that a_offset is ignored (and always
803 cd9660_getpages(struct vop_getpages_args *ap)
805 return vnode_pager_generic_getpages(ap->a_vp, ap->a_m, ap->a_count,
812 * XXX By default, wimp out... note that a_offset is ignored (and always
816 cd9660_putpages(struct vop_putpages_args *ap)
818 return vnode_pager_generic_putpages(ap->a_vp, ap->a_m, ap->a_count,
819 ap->a_sync, ap->a_rtvals);
823 * Global vfs data structures for cd9660
825 vop_t **cd9660_vnodeop_p;
826 static struct vnodeopv_entry_desc cd9660_vnodeop_entries[] = {
827 { &vop_default_desc, (vop_t *) vop_defaultop },
828 { &vop_access_desc, (vop_t *) cd9660_access },
829 { &vop_bmap_desc, (vop_t *) cd9660_bmap },
830 { &vop_cachedlookup_desc, (vop_t *) cd9660_lookup },
831 { &vop_getattr_desc, (vop_t *) cd9660_getattr },
832 { &vop_inactive_desc, (vop_t *) cd9660_inactive },
833 { &vop_ioctl_desc, (vop_t *) cd9660_ioctl },
834 { &vop_islocked_desc, (vop_t *) vop_stdislocked },
835 { &vop_lock_desc, (vop_t *) vop_stdlock },
836 { &vop_lookup_desc, (vop_t *) vfs_cache_lookup },
837 { &vop_pathconf_desc, (vop_t *) cd9660_pathconf },
838 { &vop_print_desc, (vop_t *) cd9660_print },
839 { &vop_read_desc, (vop_t *) cd9660_read },
840 { &vop_readdir_desc, (vop_t *) cd9660_readdir },
841 { &vop_readlink_desc, (vop_t *) cd9660_readlink },
842 { &vop_reclaim_desc, (vop_t *) cd9660_reclaim },
843 { &vop_setattr_desc, (vop_t *) cd9660_setattr },
844 { &vop_strategy_desc, (vop_t *) cd9660_strategy },
845 { &vop_unlock_desc, (vop_t *) vop_stdunlock },
846 { &vop_getpages_desc, (vop_t *) cd9660_getpages },
847 { &vop_putpages_desc, (vop_t *) cd9660_putpages },
850 static struct vnodeopv_desc cd9660_vnodeop_opv_desc =
851 { &cd9660_vnodeop_p, cd9660_vnodeop_entries };
852 VNODEOP_SET(cd9660_vnodeop_opv_desc);
855 * Special device vnode ops
857 vop_t **cd9660_specop_p;
858 static struct vnodeopv_entry_desc cd9660_specop_entries[] = {
859 { &vop_default_desc, (vop_t *) spec_vnoperate },
860 { &vop_access_desc, (vop_t *) cd9660_access },
861 { &vop_getattr_desc, (vop_t *) cd9660_getattr },
862 { &vop_inactive_desc, (vop_t *) cd9660_inactive },
863 { &vop_islocked_desc, (vop_t *) vop_stdislocked },
864 { &vop_lock_desc, (vop_t *) vop_stdlock },
865 { &vop_print_desc, (vop_t *) cd9660_print },
866 { &vop_reclaim_desc, (vop_t *) cd9660_reclaim },
867 { &vop_setattr_desc, (vop_t *) cd9660_setattr },
868 { &vop_unlock_desc, (vop_t *) vop_stdunlock },
871 static struct vnodeopv_desc cd9660_specop_opv_desc =
872 { &cd9660_specop_p, cd9660_specop_entries };
873 VNODEOP_SET(cd9660_specop_opv_desc);
875 vop_t **cd9660_fifoop_p;
876 static struct vnodeopv_entry_desc cd9660_fifoop_entries[] = {
877 { &vop_default_desc, (vop_t *) fifo_vnoperate },
878 { &vop_access_desc, (vop_t *) cd9660_access },
879 { &vop_getattr_desc, (vop_t *) cd9660_getattr },
880 { &vop_inactive_desc, (vop_t *) cd9660_inactive },
881 { &vop_islocked_desc, (vop_t *) vop_stdislocked },
882 { &vop_lock_desc, (vop_t *) vop_stdlock },
883 { &vop_print_desc, (vop_t *) cd9660_print },
884 { &vop_reclaim_desc, (vop_t *) cd9660_reclaim },
885 { &vop_setattr_desc, (vop_t *) cd9660_setattr },
886 { &vop_unlock_desc, (vop_t *) vop_stdunlock },
889 static struct vnodeopv_desc cd9660_fifoop_opv_desc =
890 { &cd9660_fifoop_p, cd9660_fifoop_entries };
892 VNODEOP_SET(cd9660_fifoop_opv_desc);